public class ServletDispatcher
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
GENERIC_DISPATCHER_FOR_CLEANUP |
protected static org.apache.commons.logging.Log |
log |
static String |
STACK_HEAD
After a view is processed the value of the stack's head is put into the request attributes with this key.
|
| Constructor and Description |
|---|
ServletDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getActionName(String name)
Determine action name by extracting last string and removing extension.
|
protected String |
getHTMLErrorMessage(Throwable t)
Return an HTML error message for the throwable
|
void |
init(javax.servlet.ServletConfig config)
Initialize dispatcher servlet
|
void |
service(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
Service a request.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String STACK_HEAD
protected static org.apache.commons.logging.Log log
public static final String GENERIC_DISPATCHER_FOR_CLEANUP
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - javax.servlet.ServletExceptionpublic void service(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpServletResponse aResponse)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletaRequest - aResponse - javax.servlet.ServletExceptionIOExceptionprotected String getActionName(String name)
Copyright © 2013 Atlassian. All Rights Reserved.