org.apache.pluto.driver
Class PortalDriverServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.pluto.driver.PortalDriverServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- TCKDriverServlet
public class PortalDriverServlet
- extends javax.servlet.http.HttpServlet
The controller servlet used to drive the Portal Driver. All requests mapped
to this servlet will be processed as Portal Requests.
- Since:
- Sep 22, 2004
- Version:
- 1.0
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle all requests. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Pass all POST requests to doGet(HttpServletRequest, HttpServletResponse) . |
java.lang.String |
getServletInfo()
|
void |
init()
Initialize the Portal Driver. |
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, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PAGE_URI
public static final java.lang.String DEFAULT_PAGE_URI
- See Also:
- Constant Field Values
container
protected PortletContainer container
- The portlet container to which we will forward all portlet requests.
PortalDriverServlet
public PortalDriverServlet()
getServletInfo
public java.lang.String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
- Overrides:
getServletInfo
in class javax.servlet.GenericServlet
init
public void init()
- Initialize the Portal Driver. This method retrieves the portlet container
instance from the servlet context scope.
- Overrides:
init
in class javax.servlet.GenericServlet
- See Also:
PortletContainer
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Handle all requests. All POST requests are passed to this method.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- the incoming HttpServletRequest.response
- the incoming HttpServletResponse.
- Throws:
javax.servlet.ServletException
- if an internal error occurs.
java.io.IOException
- if an error occurs writing to the response.
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Pass all POST requests to
doGet(HttpServletRequest, HttpServletResponse)
.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Parameters:
request
- the incoming servlet request.response
- the incoming servlet response.
- Throws:
javax.servlet.ServletException
- if an exception occurs.
java.io.IOException
- if an exception occurs writing to the response.
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.