Package com.avoka.fc.core.servlet.rest
Class RestArchiveV1Servlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.avoka.fc.core.servlet.rest.AbstractRestServlet
com.avoka.fc.core.servlet.rest.RestArchiveV1Servlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Provides an Archive Import REST API Servlet.
- Since:
- 22.4.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The parameter pointing to the archive file for upload operationsFields inherited from class com.avoka.fc.core.servlet.rest.AbstractRestServlet
CONTENT_TYPE_JSON, errorLogService, logger, userAccountDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doPost
(HttpServletRequest request, HttpServletResponse response) protected String
Methods inherited from class com.avoka.fc.core.servlet.rest.AbstractRestServlet
getMultiPartRequestMap, getNonEmptyRequestPaths, getRequestParamsMap, getRequestPaths, getThreadObjectContext, getUserAccount, isAuthorized, isAuthorized, logRequest, marshallJsonObject, renderJsonResponse, renderResponse, setNoCacheHeaders
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
PARAM_ARCHIVE_FILE
The parameter pointing to the archive file for upload operations- See Also:
-
-
Constructor Details
-
RestArchiveV1Servlet
public RestArchiveV1Servlet()
-
-
Method Details
-
getRestBasePath
- Specified by:
getRestBasePath
in classAbstractRestServlet
- Returns:
- the REST API base path
- See Also:
-
doPost
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
doPost
in classHttpServlet
- Throws:
ServletException
IOException
- See Also:
-