站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

PortalServlet - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.server.servlet
Class PortalServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.jboss.portal.server.servlet.PortalServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PortalServlet
extends javax.servlet.http.HttpServlet

The main servlet of the portal. This servlet must be properly configured with the servlet mapping style it is mapped.

See Also:
Serialized Form

Nested Class Summary
 class PortalServlet.ServerRequestContextImpl
           
 class PortalServlet.ServerResponseContextImpl
           
 
Field Summary
protected  org.apache.log4j.Logger log
          The logger.
 
Constructor Summary
PortalServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected  void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected  boolean getAsDefaultServletInitValue()
          Return the value for the servlet mapping.
protected  RequestController getController()
           
protected  InterceptorStack getInterceptorStack()
           
protected  Server getServer()
           
 void init()
          Configure the as default servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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

log

protected org.apache.log4j.Logger log
The logger.

Constructor Detail

PortalServlet

public PortalServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Configure the as default servlet.

Throws:
javax.servlet.ServletException

getServer

protected final Server getServer()

getInterceptorStack

protected final InterceptorStack getInterceptorStack()

getController

protected final RequestController getController()

doPost

protected void doPost(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse resp)
               throws javax.servlet.ServletException,
                      java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     java.io.IOException
Throws:
javax.servlet.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