Servlet::ServletRequestWrapper - servlet request wrapper class

- NAME
- SYNOPSIS
- DESCRIPTION
- CONSTRUCTOR
- METHODS
- SEE ALSO
- AUTHOR

# NAME

Servlet::ServletRequestWrapper - servlet request wrapper class

# SYNOPSIS

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

      my $req = $wrapper->getRequest();
      $wrapper->setRequest($req);

# DESCRIPTION

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.

# CONSTRUCTOR

`new($request)`
  Construct an instance with the given request object

  Parameters:

  $request
    the Servlet::ServletRequest to be wrapped

# METHODS

`getRequest()`
  Returns the wrapped Servlet::ServletRequest

`setRequest($request)`
  Specify a new request object to be wrapped.

  Parameters:

  $request
    the Servlet::ServletRequest to be wrapped

# SEE ALSO

the Servlet::ServletRequest manpage

# AUTHOR

Brian Moseley, bcm@maz.org