org.jboss.portal.server.servlet
Class AbstractMainServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.jboss.portal.server.servlet.AbstractMainServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
CoreServlet, PortletServlet, TestServlet

public abstract class AbstractMainServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
protected  org.apache.log4j.Logger log
           
 
Constructor Summary
AbstractMainServlet()
           
 
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  PortalServer getContainer()
           
protected  void invoke(Invocation invocation)
           
protected abstract  void render(PortalRequest presp, PortalResponse preq, Output output)
           
 
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, 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
Constructor Detail

AbstractMainServlet

public AbstractMainServlet()
Method Detail

getContainer

protected final PortalServer getContainer()

doPost

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

invoke

protected void invoke(Invocation invocation)
               throws javax.servlet.ServletException,
                      java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

render

protected abstract void render(PortalRequest presp,
                               PortalResponse preq,
                               Output output)
                        throws java.io.IOException,
                               javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException