Package com.avoka.fc.core.servlet.rest
Class RestTransactionsV1Servlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.avoka.fc.core.servlet.rest.AbstractRestServlet
com.avoka.fc.core.servlet.rest.RestTransactionsV1Servlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
Provides a REST Transactions API Servlet.
- Since:
- 4.3.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Provides a create task request class.static class
Provides an update submission request class. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The POST "formDataXml" request parameter.static final String
The POST "inputXmlData" request parameter.static final String
The POST "task" request parameter.Fields inherited from class com.avoka.fc.core.servlet.rest.AbstractRestServlet
CONTENT_TYPE_JSON, errorLogService, logger, userAccountDao
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected void
doPost
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected void
doPut
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.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 jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doTrace, getLastModified, init, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
TASK
The POST "task" request parameter.- See Also:
-
FORM_DATA_XML
The POST "formDataXml" request parameter.- See Also:
-
INPUT_XML_DATA
The POST "inputXmlData" request parameter.- See Also:
-
-
Constructor Details
-
RestTransactionsV1Servlet
public RestTransactionsV1Servlet()
-
-
Method Details
-
getRestBasePath
- Specified by:
getRestBasePath
in classAbstractRestServlet
- Returns:
- the REST API base path
- See Also:
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
- See Also:
-
HttpServlet.doGet(HttpServletRequest, HttpServletResponse)
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
- See Also:
-
HttpServlet.doPost(HttpServletRequest, HttpServletResponse)
-
doPut
protected void doPut(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
doPut
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
- See Also:
-
HttpServlet.doPut(HttpServletRequest, HttpServletResponse)
-