org.apache.pluto.internal.impl
Class PortletRequestDispatcherImpl

java.lang.Object
  extended by org.apache.pluto.internal.impl.PortletRequestDispatcherImpl
All Implemented Interfaces:
javax.portlet.PortletRequestDispatcher

public class PortletRequestDispatcherImpl
extends java.lang.Object
implements javax.portlet.PortletRequestDispatcher

Implementation of the PortletRequestDispatcher interface. The portlet request dispatcher is used to dispatch RenderRequest and RenderResponse to a URI. Note that ActionRequest and ActionResponse can never be dispatched.


Constructor Summary
PortletRequestDispatcherImpl(javax.servlet.RequestDispatcher requestDispatcher)
          Creates an instance.
PortletRequestDispatcherImpl(javax.servlet.RequestDispatcher requestDispatcher, java.lang.String queryString)
          Creates an instance.
 
Method Summary
 void include(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletRequestDispatcherImpl

public PortletRequestDispatcherImpl(javax.servlet.RequestDispatcher requestDispatcher)
Creates an instance. This constructor should be called to construct a named dispatcher.

Parameters:
requestDispatcher - the servlet request dispatcher.
See Also:
PortletContext.getNamedDispatcher(String)

PortletRequestDispatcherImpl

public PortletRequestDispatcherImpl(javax.servlet.RequestDispatcher requestDispatcher,
                                    java.lang.String queryString)
Creates an instance. This constructor should be called to construct a portlet request dispatcher.

Parameters:
requestDispatcher - the servlet request dispatcher.
queryString - the included query string.
See Also:
PortletContext.getRequestDispatcher(String)
Method Detail

include

public void include(javax.portlet.RenderRequest request,
                    javax.portlet.RenderResponse response)
             throws javax.portlet.PortletException,
                    java.io.IOException
Specified by:
include in interface javax.portlet.PortletRequestDispatcher
Throws:
javax.portlet.PortletException
java.io.IOException


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.