@ThreadSafe public final class MetadataServlet extends AbstractServlet
AbstractServlet.BadRequestException
Modifier and Type | Field and Description |
---|---|
static String |
METADATA_STAMP_HEADER
Metadata stamp HTTP header.
|
JSON_CONTENT_TYPE, JSON_PARAMETER, RESPONSE_ROOT, STAMP_ATTRIBUTE, XML_CONTENT_TYPE
Constructor and Description |
---|
MetadataServlet() |
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 METADATA_STAMP_HEADER
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.