@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, toStamp
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
public 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 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.