Package com.avoka.fc.core.servlet.rest
Class RestTransactionHistoryV1Servlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.avoka.fc.core.servlet.rest.AbstractRestServlet
-
- com.avoka.fc.core.servlet.rest.RestTransactionHistoryV1Servlet
-
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
public class RestTransactionHistoryV1Servlet extends AbstractRestServlet
Provides a REST Transaction History API Servlet.- Since:
- 4.3.3
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CONTENT_TYPE_CSV
-
Fields inherited from class com.avoka.fc.core.servlet.rest.AbstractRestServlet
CONTENT_TYPE_JSON, errorLogService, logger, userAccountDao
-
-
Constructor Summary
Constructors Constructor Description RestTransactionHistoryV1Servlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(HttpServletRequest request, HttpServletResponse response)
protected void
doPut(HttpServletRequest request, HttpServletResponse response)
protected String
getRestBasePath()
-
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, doHead, doOptions, doPost, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
CONTENT_TYPE_CSV
protected static final String CONTENT_TYPE_CSV
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRestBasePath
protected String getRestBasePath()
- Specified by:
getRestBasePath
in classAbstractRestServlet
- Returns:
- the REST API base path
- See Also:
AbstractRestServlet.getRestBasePath()
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doGet(HttpServletRequest, HttpServletResponse)
-
doPut
protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- Overrides:
doPut
in classHttpServlet
- Throws:
ServletException
IOException
- See Also:
HttpServlet.doPut(HttpServletRequest, HttpServletResponse)
-
-