org.jbpm.formModeler.service.bb.mvc.controller
Class ControllerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jbpm.formModeler.service.bb.mvc.controller.ControllerServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ControllerServlet
- extends javax.servlet.http.HttpServlet
Application end point for HTTP requests. It provides the following features:
- Perform application initialization and ending.
- Analyze the requests received and dispatch to the proper execution method.
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT_PARAM_CFG_DIR
public static final String INIT_PARAM_CFG_DIR
- See Also:
- Constant Field Values
INIT_PARAM_APP_DIR
public static final String INIT_PARAM_APP_DIR
- See Also:
- Constant Field Values
ControllerServlet
public ControllerServlet()
initError
protected void initError()
initApp
protected void initApp()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
service
public final void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Process incoming HTTP requests
- Overrides:
service in class javax.servlet.http.HttpServlet
- Parameters:
request - Object that encapsulates the request to the servlet.response - Object that encapsulates the response from the servlet.
- Throws:
javax.servlet.ServletException
IOException
processTheRequest
protected void processTheRequest(CommandRequest request)
processTheView
protected void processTheView(CommandRequest request)
displayTheError
protected void displayTheError(Throwable t)
destroy
public void destroy()
- Called when it's destroyed.
- Specified by:
destroy in interface javax.servlet.Servlet- Overrides:
destroy in class javax.servlet.GenericServlet
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.