
Servlet::ServletRequestWrapper - servlet request wrapper class

my $wrapper = Servlet::ServletRequestWrapper->new($request); my $req = $wrapper->getRequest(); $wrapper->setRequest($req);

Provides a convenient implementation of the ServletRequest interface that may be subclassed by developers wishing to adapt the request to a Servlet. This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped request object.

Construct an instance with the given request object
Parameters:
the Servlet::ServletRequest to be wrapped

Returns the wrapped Servlet::ServletRequest
Specify a new request object to be wrapped.
Parameters:
the Servlet::ServletRequest to be wrapped


Brian Moseley, bcm@maz.org