@ThreadSafe public final class NoticeServlet extends AbstractServlet
AbstractServlet.BadRequestException| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_ATTRIBUTE
Exception attribute.
|
static String |
MESSAGE_ELEMENT
Message element.
|
static String |
NOTICE_ELEMENT
Notice element.
|
static String |
NOTICES_ROOT
Notices root element.
|
static String |
POINT_ATTRIBUTE
Point attribute.
|
static String |
RECALC_ELEMENT
Recalc element.
|
static String |
RECALC_PARAMETER
Recalc parameter.
|
static String |
RESPONSE_ELEMENT
Response element.
|
static String |
RESPONSES_ROOT
Responses root element.
|
static String |
STATE_ATTRIBUTE
State attribute.
|
static String |
VALUE_ATTRIBUTE
Value attribute.
|
JSON_CONTENT_TYPE, JSON_PARAMETER, RESPONSE_ROOT, STAMP_ATTRIBUTE, XML_CONTENT_TYPE| Constructor and Description |
|---|
NoticeServlet() |
| 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, toStampdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic static final String EXCEPTION_ATTRIBUTE
public static final String MESSAGE_ELEMENT
public static final String NOTICES_ROOT
public static final String NOTICE_ELEMENT
public static final String POINT_ATTRIBUTE
public static final String RECALC_ELEMENT
public static final String RECALC_PARAMETER
public static final String RESPONSES_ROOT
public static final String RESPONSE_ELEMENT
public static final String STATE_ATTRIBUTE
public static final String VALUE_ATTRIBUTE
public void init()
throws ServletException
init in class GenericServletServletException - When approriate.protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException
doGet in class HttpServletIOExceptionprotected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws IOException
doPost in class HttpServletIOExceptionCopyright © 2003-2019 Serge Brisson. All Rights Reserved.