Package prompto.server
Class StoreServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- prompto.server.CleverServlet
-
- prompto.server.StoreServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class StoreServlet extends CleverServlet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class prompto.server.CleverServlet
CURRENT_REQUEST, CURRENT_RESPONSE, REGISTERED_ORIGINS
-
-
Constructor Summary
Constructors Constructor Description StoreServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeleteAndStore(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voiddoStuff(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voidfetchMany(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)protected voidfetchOne(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)voidinit(javax.servlet.ServletConfig config)-
Methods inherited from class prompto.server.CleverServlet
getServletName, readPartsAsBytes, readPartsAsObjects, service, setHolder, setMultipartConfig, writeJSONError, writeJsonResponseError, writeJSONResult
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doStuff
protected void doStuff(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException- Throws:
javax.servlet.ServletExceptionIOException
-
deleteAndStore
protected void deleteAndStore(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException- Throws:
javax.servlet.ServletExceptionIOException
-
fetchMany
protected void fetchMany(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException- Throws:
javax.servlet.ServletExceptionIOException
-
fetchOne
protected void fetchOne(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException- Throws:
javax.servlet.ServletExceptionIOException
-
-