Servlet::Http::HttpServletResponseWrapper - HTTP servlet response wrapper class
my $wrapper = Servlet::Http::HttpServletResponseWrapper->new($response);
my $reqs= $wrapper->getResponse(); $wrapper->setResponse($res);
Provides a convenient implementation of the HttpServletResponse interface that may be subclassed by developers wishing to adapt the response to a Servlet. This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped response object.
new($response)
Parameters:
getResponse()
setResponse($response)
Parameters:
the Servlet::Http::HttpServletResponse manpage, the Servlet::ServletResponseWrapper manpage
Brian Moseley, bcm@maz.org