org.apache.cactus.server
class RequestDispatcherWrapper

java.lang.Object
  |
  +--org.apache.cactus.server.RequestDispatcherWrapper
All Implemented Interfaces:
RequestDispatcher
Known Advisors:
LogAspect

public class RequestDispatcherWrapper
extends java.lang.Object
implements RequestDispatcher

Wrapper around RequestDispatcher which overrides the forward() and include methods to use the original HTTP request object instead of the simulated one used by Cactus.

Version:
$Id: RequestDispatcherWrapper.java,v 1.2 2002/04/14 10:35:44 vmassol Exp $
Author:
Vincent Massol

Constructor Summary
RequestDispatcherWrapper(RequestDispatcher theOriginalDispatcher)
           
 
Method Summary
 void forward(ServletRequest theRequest, ServletResponse theResponse)
           Affected by: LogAspect
 void include(ServletRequest theRequest, ServletResponse theResponse)
           Affected by: LogAspect
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestDispatcherWrapper

public RequestDispatcherWrapper(RequestDispatcher theOriginalDispatcher)
Method Detail

forward

public void forward(ServletRequest theRequest,
                    ServletResponse theResponse)
             throws java.io.IOException,
                    javax.servlet.ServletException
Specified by:
forward in interface RequestDispatcher
Affected by:
around() in LogAspect.

include

public void include(ServletRequest theRequest,
                    ServletResponse theResponse)
             throws java.io.IOException,
                    javax.servlet.ServletException
Specified by:
include in interface RequestDispatcher
Affected by:
around() in LogAspect.


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.