Package com.avoka.fc.core.servlet.rest
Class RestServiceDefinitionsV1Servlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.avoka.fc.core.servlet.rest.AbstractRestServlet
com.avoka.fc.core.servlet.rest.RestServiceDefinitionsV1Servlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Provides a REST Service Definition API Servlet.
- Since:
- 4.3.0
- See Also:
-
Field Summary
Fields inherited from class com.avoka.fc.core.servlet.rest.AbstractRestServlet
CONTENT_TYPE_JSON, errorLogService, logger, userAccountDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doDelete
(HttpServletRequest request, HttpServletResponse response) protected void
doGet
(HttpServletRequest request, HttpServletResponse response) protected void
doPost
(HttpServletRequest request, HttpServletResponse response) protected void
doPut
(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
doHead, doOptions, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
RestServiceDefinitionsV1Servlet
public RestServiceDefinitionsV1Servlet()
-
-
Method Details
-
getRestBasePath
- Specified by:
getRestBasePath
in classAbstractRestServlet
- Returns:
- the REST API base path
- See Also:
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
- See Also:
-
doPost
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
doPost
in classHttpServlet
- Throws:
ServletException
IOException
- See Also:
-
doPut
protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
doPut
in classHttpServlet
- Throws:
ServletException
IOException
- See Also:
-
doDelete
protected void doDelete(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException - Overrides:
doDelete
in classHttpServlet
- Throws:
ServletException
IOException
- See Also:
-