Package org.apache.ofbiz.webapp.control
Class ControlServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.ofbiz.webapp.control.ControlServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
- Direct Known Subclasses:
CategoryControlServlet
,SeoControlServlet
ControlServlet.java - Master servlet for the web application.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doDelete
(HttpServletRequest req, HttpServletResponse resp) void
doGet
(HttpServletRequest req, HttpServletResponse resp) void
doPost
(HttpServletRequest req, HttpServletResponse resp) void
doPut
(HttpServletRequest req, HttpServletResponse resp) void
handle
(HttpServletRequest request, HttpServletResponse response) void
init()
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, log, log
-
Constructor Details
-
ControlServlet
public ControlServlet()
-
-
Method Details
-
init
- Overrides:
init
in classGenericServlet
- Throws:
ServletException
-
doPost
public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doPost
in classHttpServlet
- Throws:
ServletException
IOException
-
doDelete
public void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doDelete
in classHttpServlet
- Throws:
ServletException
IOException
-
doPut
public void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doPut
in classHttpServlet
- Throws:
ServletException
IOException
-
doGet
public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-
handle
InvokesRequestHandler.doRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, org.apache.ofbiz.entity.GenericValue, org.apache.ofbiz.entity.Delegator)
with error handling.- Parameters:
request
- anHttpServletRequest
object that contains the request the client has made of the servletresponse
- anHttpServletResponse
object that contains the response the servlet sends to the client- Throws:
IOException
- if an output error is detected when trying to write on the response.
-