Package dev.galasa.framework.api.common
Class BaseServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
dev.galasa.framework.api.common.BaseServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class BaseServlet
extends javax.servlet.http.HttpServlet
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
doDelete
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
doGet
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
doPost
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
doPut
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) protected ResponseBuilder
void
setResponseBuilder
(ResponseBuilder responseBuilder) 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
-
Field Details
-
logger
protected org.apache.commons.logging.Log logger
-
-
Constructor Details
-
BaseServlet
public BaseServlet()
-
-
Method Details
-
addRoute
-
getResponseBuilder
-
setResponseBuilder
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException - Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException - Overrides:
doPost
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
doPut
public void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException - Overrides:
doPut
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
doDelete
public void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException - Overrides:
doDelete
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-