org.jboss.portal.server.servlet
Class PortalServlet
java.lang.Object
HttpServlet
org.jboss.portal.server.servlet.PortalServlet
public class PortalServlet
- extends HttpServlet
The main servlet of the portal. This servlet must be properly configured with the servlet mapping style it is
mapped.
- Version:
- $Revision: 7379 $
- Author:
- Julien Viet
Field Summary |
protected Logger |
log
The logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected Logger log
- The logger.
PortalServlet
public PortalServlet()
init
public void init()
throws ServletException
- Configure the as default servlet.
- Throws:
ServletException
getServer
protected final Server getServer()
getInterceptorStackFactory
protected final InterceptorStackFactory getInterceptorStackFactory()
getControllerFactory
protected final RequestControllerFactory getControllerFactory()
service
protected void service(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
getAsDefaultServletInitValue
protected boolean getAsDefaultServletInitValue()
- Return the value for the servlet mapping. This implementation get the value from an init parameter of the servlet
called asDefaultServlet