public class ControllerServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
INIT_PARAM_APP_DIR |
static String |
INIT_PARAM_CFG_DIR |
Constructor and Description |
---|
ControllerServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
displayTheError(Throwable t) |
protected void |
initApp() |
protected void |
initError() |
protected void |
processTheRequest(CommandRequest request) |
protected void |
processTheView(CommandRequest request) |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process incoming HTTP requests
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public static final String INIT_PARAM_CFG_DIR
public static final String INIT_PARAM_APP_DIR
protected void initError()
protected void initApp() throws javax.servlet.ServletException
javax.servlet.ServletException
public final void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
request
- Object that encapsulates the request to the servlet.response
- Object that encapsulates the response from the servlet.javax.servlet.ServletException
IOException
protected void processTheRequest(CommandRequest request)
protected void processTheView(CommandRequest request)
protected void displayTheError(Throwable t)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.