com.caucho.portal.generic
Class HttpPortletRequestDispatcher

java.lang.Object
  extended by com.caucho.portal.generic.HttpPortletRequestDispatcher

public class HttpPortletRequestDispatcher
extends java.lang.Object

An adapter to a RequestDispatcher, based on a HttpServletRequest and HttpServletResponse stored as request attributes


Nested Class Summary
protected static class HttpPortletRequestDispatcher.HttpPortletRequestWrapper
          This can't extend HttpServletRequestWrapper because of some bizarre behaviour mandated by the Servlet spec.
protected static class HttpPortletRequestDispatcher.HttpPortletResponseWrapper
           
protected static class HttpPortletRequestDispatcher.ServletOutputStreamWrapper
           
 
Field Summary
static java.lang.String HTTP_SERVLET_REQUEST
          request attribute for the HttpServletRequest
static java.lang.String HTTP_SERVLET_RESPONSE
          request attribute for the HttpServletResponse
protected static java.util.logging.Logger log
           
 
Constructor Summary
HttpPortletRequestDispatcher()
           
 
Method Summary
 void finish()
           
 void include(RenderRequest renderRequest, RenderResponse renderResponse)
           
 boolean startWithName(ServletContext servletContext, java.lang.String name)
           
 boolean startWithPath(ServletContext servletContext, java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log

HTTP_SERVLET_REQUEST

public static final java.lang.String HTTP_SERVLET_REQUEST
request attribute for the HttpServletRequest

See Also:
Constant Field Values

HTTP_SERVLET_RESPONSE

public static final java.lang.String HTTP_SERVLET_RESPONSE
request attribute for the HttpServletResponse

See Also:
Constant Field Values
Constructor Detail

HttpPortletRequestDispatcher

public HttpPortletRequestDispatcher()
Method Detail

startWithPath

public boolean startWithPath(ServletContext servletContext,
                             java.lang.String path)
Returns:
true if the servletContext has a dispatcher for the path

startWithName

public boolean startWithName(ServletContext servletContext,
                             java.lang.String name)
Returns:
true if the servletContext has a dispatcher for the name

finish

public void finish()

include

public void include(RenderRequest renderRequest,
                    RenderResponse renderResponse)
             throws PortletException,
                    java.io.IOException
Throws:
PortletException
java.io.IOException