@ThreadSafe public final class RPNServlet extends AbstractServlet
AbstractServlet.BadRequestException
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_ATTRIBUTE
Content attribute.
|
static String |
INPUT_ELEMENT
Input element.
|
static String |
MACRO_ELEMENT
Macro element.
|
static String |
MESSAGE_ELEMENT
Message element.
|
static String |
PARAM_ELEMENT
Param element.
|
static String |
PROGRAM_ELEMENT
Program element.
|
static String |
REQUEST_ROOT
Request root element.
|
static String |
RESULT_ELEMENT
Result element.
|
static String |
UNIT_ATTRIBUTE
Unit attribute.
|
static String |
VALUE_ATTRIBUTE
Value attribute.
|
static String |
VALUE_ELEMENT
Value element.
|
static String |
WORD_ELEMENT
Word element.
|
JSON_CONTENT_TYPE, JSON_PARAMETER, RESPONSE_ROOT, STAMP_ATTRIBUTE, XML_CONTENT_TYPE
Constructor and Description |
---|
RPNServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
void |
init()
Initializes the servlet state.
|
canonicalize, getThisLogger, parseRequest, sendGetResponse, sendPostResponse, service, setLogID, toBoolean, toStamp
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service
public static final String CONTENT_ATTRIBUTE
public static final String INPUT_ELEMENT
public static final String MACRO_ELEMENT
public static final String MESSAGE_ELEMENT
public static final String PARAM_ELEMENT
public static final String PROGRAM_ELEMENT
public static final String REQUEST_ROOT
public static final String RESULT_ELEMENT
public static final String UNIT_ATTRIBUTE
public static final String VALUE_ATTRIBUTE
public static final String VALUE_ELEMENT
public static final String WORD_ELEMENT
public void init() throws ServletException
init
in class GenericServlet
ServletException
- When approriate.protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException
doPost
in class HttpServlet
IOException
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.