当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PortalServlet - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.server.servlet
Class PortalServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.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
Field Summary |
protected org.apache.log4j.Logger |
log
The logger. |
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 |
log
protected org.apache.log4j.Logger log
- The logger.
PortalServlet
public PortalServlet()
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
process
protected void process(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
boolean isGet)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
getControllerNameInitValue
protected javax.management.ObjectName getControllerNameInitValue()
throws javax.servlet.ServletException
- Return the object name of the controller used by this portal servlet. This implementation get the value from an
init parameter of the servlet called controllerName
- Throws:
javax.servlet.ServletException
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