com.opensymphony.module.sitemesh.filter
Class RequestDispatcherWrapper

java.lang.Object
  extended by com.opensymphony.module.sitemesh.filter.RequestDispatcherWrapper
All Implemented Interfaces:
RequestDispatcher

public class RequestDispatcherWrapper
extends Object
implements RequestDispatcher

Special request dispatcher that will include when an inline decorator includes a resource that uses an internal forward.

Version:
$Revision: 1.1 $
Author:
Joseph B. Ottinger
See Also:
ApplyDecoratorTag

Field Summary
(package private)  boolean done
           
private  RequestDispatcher rd
           
 
Constructor Summary
RequestDispatcherWrapper(RequestDispatcher rd)
           
 
Method Summary
 void forward(ServletRequest servletRequest, ServletResponse servletResponse)
           
 void include(ServletRequest servletRequest, ServletResponse servletResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rd

private RequestDispatcher rd

done

boolean done
Constructor Detail

RequestDispatcherWrapper

public RequestDispatcherWrapper(RequestDispatcher rd)
Method Detail

forward

public void forward(ServletRequest servletRequest,
                    ServletResponse servletResponse)
             throws ServletException,
                    IOException
Specified by:
forward in interface RequestDispatcher
Throws:
ServletException
IOException

include

public void include(ServletRequest servletRequest,
                    ServletResponse servletResponse)
             throws ServletException,
                    IOException
Specified by:
include in interface RequestDispatcher
Throws:
ServletException
IOException

www.opensymphony.com/sitemesh/