public class ControllerServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
FACTORY_CONFIG_DIR |
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) |
void |
init()
Initializes the servlet.
|
protected void |
initAppDirectories() |
protected void |
initError() |
protected void |
initFactory()
Init the advanced configuration subsystem based in the Factory trees.
|
protected void |
processTheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
processTheView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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 FACTORY_CONFIG_DIR
public static final String INIT_PARAM_CFG_DIR
public static final String INIT_PARAM_APP_DIR
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- Description of the Exceptionprotected void initError()
protected void initAppDirectories()
protected void initFactory()
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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void processTheView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void displayTheError(Throwable t)
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.