|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.jboss.portal.server.servlet.PortalServlet
The main servlet of the portal. This servlet must be properly configured with the servlet mapping style it is mapped.
Nested Class Summary | |
static class |
PortalServlet.Buffer
|
Field Summary | |
private boolean |
asDefaultServlet
Are we or not the default servlet ? |
private RequestController |
controller
The controller for this servlet. |
private java.lang.String |
controllerName
The controller name. |
private static int |
DEFAULT_SERVLET_MAPPING
Describes a default servlet mapping. |
private static int |
GET_METHOD
. |
private InterceptorStackFactory |
interceptorStack
The interceptor stack. |
protected org.apache.log4j.Logger |
log
The logger. |
private static int |
PATH_MAPPING
Describes a path mapping. |
private static int |
POST_METHOD
. |
private static int |
ROOT_PATH_MAPPING
Describes a root path mapping. |
private static long |
serialVersionUID
The serialVersionUID |
private Server |
server
The server. |
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Constructor Summary | |
PortalServlet()
|
Method Summary | |
protected boolean |
getAsDefaultServletInitValue()
Return the value for the servlet mapping. |
protected RequestController |
getController()
|
protected InterceptorStackFactory |
getInterceptorStackFactory()
|
protected Server |
getServer()
|
void |
init()
Configure the as default servlet. |
private java.util.Map |
parseQueryString(java.lang.String queryString)
Parse the query string and build an unmodifiable parameter map of it. |
private URLContext |
parseURLContext(javax.servlet.http.HttpServletRequest req)
|
private java.lang.String |
retrieveMediaType(java.lang.String contentType)
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final int GET_METHOD
private static final int POST_METHOD
private static final long serialVersionUID
private static final int DEFAULT_SERVLET_MAPPING
private static final int ROOT_PATH_MAPPING
private static final int PATH_MAPPING
protected org.apache.log4j.Logger log
private Server server
private InterceptorStackFactory interceptorStack
private boolean asDefaultServlet
private RequestController controller
private java.lang.String controllerName
Constructor Detail |
public PortalServlet()
Method Detail |
public void init() throws javax.servlet.ServletException
javax.servlet.ServletException
protected final Server getServer()
protected final InterceptorStackFactory getInterceptorStackFactory()
protected final RequestController getController()
private java.lang.String retrieveMediaType(java.lang.String contentType)
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
protected boolean getAsDefaultServletInitValue()
private URLContext parseURLContext(javax.servlet.http.HttpServletRequest req)
private java.util.Map parseQueryString(java.lang.String queryString)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |