@ThreadSafe public final class UpdateServlet extends AbstractServlet
AbstractServlet.BadRequestException
Modifier and Type | Field and Description |
---|---|
static String |
DELETE_ELEMENT
Delete element.
|
static String |
DELETE_PARAMETER
Delete parameter.
|
static String |
EXCEPTION_ATTRIBUTE
Exception attribute.
|
static String |
MESSAGE_ELEMENT
Message element.
|
static String |
POINT_ATTRIBUTE
Point attribute.
|
static String |
RESPONSE_ELEMENT
Response element.
|
static String |
RESPONSES_ROOT
Responses root element.
|
static String |
STATE_ATTRIBUTE
State attribute.
|
static String |
UPDATE_ELEMENT
Update element.
|
static String |
UPDATES_ROOT
Updates root element.
|
static String |
VALUE_ATTRIBUTE
Value attribute.
|
JSON_CONTENT_TYPE, JSON_PARAMETER, RESPONSE_ROOT, STAMP_ATTRIBUTE, XML_CONTENT_TYPE
Constructor and Description |
---|
UpdateServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
void |
init()
Initializes the servlet state.
|
canonicalize, getThisLogger, parseRequest, sendGetResponse, sendPostResponse, service, setLogID, toBoolean, toStamp
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
public static final String DELETE_ELEMENT
public static final String DELETE_PARAMETER
public static final String EXCEPTION_ATTRIBUTE
public static final String MESSAGE_ELEMENT
public static final String POINT_ATTRIBUTE
public static final String RESPONSES_ROOT
public static final String RESPONSE_ELEMENT
public static final String STATE_ATTRIBUTE
public static final String UPDATES_ROOT
public static final String UPDATE_ELEMENT
public static final String VALUE_ATTRIBUTE
public void init() throws ServletException
init
in class GenericServlet
ServletException
- When approriate.protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException
doGet
in class HttpServlet
IOException
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException
doPost
in class HttpServlet
IOException
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.