@ThreadSafe public final class PurgeServlet extends AbstractServlet
AbstractServlet.BadRequestException
Modifier and Type | Field and Description |
---|---|
static String |
AFTER_ATTRIBUTE
After attribute.
|
static String |
BEFORE_ATTRIBUTE
Before attribute.
|
static String |
EXCEPTION_ATTRIBUTE
Exception attribute.
|
static String |
MESSAGE_ELEMENT
Message element.
|
static String |
NOT_AFTER_ATTRIBUTE
Not after attribute.
|
static String |
NOT_BEFORE_ATTRIBUTE
Not before attribute.
|
static String |
POINT_ATTRIBUTE
Point attribute.
|
static String |
PURGE_ELEMENT
Purge element.
|
static String |
PURGES_ROOT
Purges root element.
|
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 |
---|
PurgeServlet() |
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 AFTER_ATTRIBUTE
public static final String BEFORE_ATTRIBUTE
public static final String EXCEPTION_ATTRIBUTE
public static final String MESSAGE_ELEMENT
public static final String NOT_AFTER_ATTRIBUTE
public static final String NOT_BEFORE_ATTRIBUTE
public static final String POINT_ATTRIBUTE
public static final String PURGES_ROOT
public static final String PURGE_ELEMENT
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.