@ThreadSafe public final class EventsServlet extends AbstractServlet
AbstractServlet.BadRequestException| Modifier and Type | Field and Description |
|---|---|
static String |
AFTER_LAST_VALUE
After last.
|
static String |
AFTER_PARAMETER
After parameter.
|
static String |
ENTITY_ATTRIBUTE
Entity attribute.
|
static String |
EVENT_ELEMENT
Event element.
|
static String |
EVENTS_ROOT
Root element.
|
static String |
INFO_ATTRIBUTE
Info attribute.
|
static String |
NAME_ATTRIBUTE
Name attribute.
|
static String |
SERVICE_ATTRIBUTE
Service attribute.
|
static String |
UUID_ATTRIBUTE
UUID attribute.
|
static String |
WAIT_PARAMETER
Wait parameter.
|
JSON_CONTENT_TYPE, JSON_PARAMETER, RESPONSE_ROOT, STAMP_ATTRIBUTE, XML_CONTENT_TYPE| Constructor and Description |
|---|
EventsServlet() |
| 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, toStampdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String AFTER_LAST_VALUE
public static final String AFTER_PARAMETER
public static final String ENTITY_ATTRIBUTE
public static final String EVENTS_ROOT
public static final String EVENT_ELEMENT
public static final String INFO_ATTRIBUTE
public static final String NAME_ATTRIBUTE
public static final String SERVICE_ATTRIBUTE
public static final String UUID_ATTRIBUTE
public static final String WAIT_PARAMETER
public void init()
throws ServletException
init in class GenericServletServletException - When approriate.protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException
doGet in class HttpServletrequest - The HTTP request.response - The HTTP response.IOException - When appropriate.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.