Package com.avoka.fc.core.servlet.rest
Class RestTestCenterV1Servlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.avoka.fc.core.servlet.rest.AbstractRestServlet
-
- com.avoka.fc.core.servlet.rest.RestTestCenterV1Servlet
-
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
public class RestTestCenterV1Servlet extends AbstractRestServlet
Provides a REST Test Center API Servlet.- Since:
- 5.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
FORM_TYPE_MAESTRO
protected static String
FORM_TYPE_SFC
protected static String
PARAM_DESIGNINFO_FORMCODE
protected static String
PARAM_DESIGNINFO_VERSION
protected static String
PARAM_FORMS_FORMTYPE
protected static String
PATH_DESIGNINFO
protected static String
PATH_FORMS
-
Fields inherited from class com.avoka.fc.core.servlet.rest.AbstractRestServlet
CONTENT_TYPE_JSON, errorLogService, userAccountDao
-
-
Constructor Summary
Constructors Constructor Description RestTestCenterV1Servlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(HttpServletRequest request, HttpServletResponse response)
protected void
doPost(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, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
PATH_DESIGNINFO
protected static final String PATH_DESIGNINFO
- See Also:
- Constant Field Values
-
PATH_FORMS
protected static final String PATH_FORMS
- See Also:
- Constant Field Values
-
PARAM_DESIGNINFO_FORMCODE
protected static final String PARAM_DESIGNINFO_FORMCODE
- See Also:
- Constant Field Values
-
PARAM_DESIGNINFO_VERSION
protected static final String PARAM_DESIGNINFO_VERSION
- See Also:
- Constant Field Values
-
PARAM_FORMS_FORMTYPE
protected static final String PARAM_FORMS_FORMTYPE
- See Also:
- Constant Field Values
-
FORM_TYPE_SFC
protected static final String FORM_TYPE_SFC
- See Also:
- Constant Field Values
-
FORM_TYPE_MAESTRO
protected static final String FORM_TYPE_MAESTRO
- 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)
-
doPost
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- Overrides:
doPost
in classHttpServlet
- Throws:
ServletException
IOException
- Since:
- 5.1.0
- See Also:
HttpServlet.doPost(HttpServletRequest, HttpServletResponse)
-
-