org.apache.pluto.driver
Class TCKDriverServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.pluto.driver.PortalDriverServlet
org.apache.pluto.driver.TCKDriverServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class TCKDriverServlet
- extends PortalDriverServlet
TCK Driver Servlet.
- Since:
- Dec 11, 2005
- Version:
- 1.0
- See Also:
- Serialized Form
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 |
TCKDriverServlet
public TCKDriverServlet()
getServletInfo
public java.lang.String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
- Overrides:
getServletInfo
in class PortalDriverServlet
init
public void init()
- Description copied from class:
PortalDriverServlet
- Initialize the Portal Driver. This method retrieves the portlet container
instance from the servlet context scope.
- Overrides:
init
in class PortalDriverServlet
- See Also:
PortletContainer
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Overwrites
super.doGet(..)
. If portletName
(multiple occurrences) parameter is received, the driver is attempting
to create a new page. This page must be setup and then redirected to the
actual page. Otherwise, the driver calls super.doGet(..)
to continue as normal.
- Overrides:
doGet
in class PortalDriverServlet
- Parameters:
request
- the incoming servlet request.response
- the incoming servlet response.
- Throws:
java.io.IOException
javax.servlet.ServletException
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Description copied from class:
PortalDriverServlet
- Pass all POST requests to
PortalDriverServlet.doGet(HttpServletRequest, HttpServletResponse)
.
- Overrides:
doPost
in class PortalDriverServlet
- Parameters:
req
- the incoming servlet request.response
- the incoming servlet response.
- Throws:
java.io.IOException
- if an exception occurs writing to the response.
javax.servlet.ServletException
- if an exception occurs.
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.