@ThreadSafe public final class StatusServlet extends AbstractServlet
AbstractServlet.BadRequestException
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_ATTRIBUTE
Entity attribute.
|
static String |
EVENT_ATTRIBUTE
Event attribute.
|
static String |
NAME_ATTRIBUTE
Name attribute.
|
static String |
SERVICE_ELEMENT
Service element.
|
static String |
STATUS_ROOT
Root element.
|
static String |
UUID_ATTRIBUTE
UUID attribute.
|
JSON_CONTENT_TYPE, JSON_PARAMETER, RESPONSE_ROOT, STAMP_ATTRIBUTE, XML_CONTENT_TYPE
Constructor and Description |
---|
StatusServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Does GET processing.
|
void |
init()
Initializes the servlet state.
|
canonicalize, getThisLogger, parseRequest, sendGetResponse, sendPostResponse, service, setLogID, toBoolean, toStamp
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public static final String ENTITY_ATTRIBUTE
public static final String EVENT_ATTRIBUTE
public static final String NAME_ATTRIBUTE
public static final String SERVICE_ELEMENT
public static final String STATUS_ROOT
public static final String UUID_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
request
- The HTTP request.response
- The HTTP response.IOException
- When appropriate.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.