Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Servlet::Http::HttpSerUserRContributedvPerlHttp::HttpServletRequestWrapper(3)

NAME
       Servlet::Http::HttpServletRequestWrapper	- HTTP servlet request wrapper
       class

SYNOPSIS
	 my $wrapper = Servlet::Http::HttpServletRequestWrapper->new($request);

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

DESCRIPTION
       Provides	a convenient implementation of the HttpServletRequest
       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::Http::HttpServletRequest to	be wrapped

METHODS
       getRequest()
	   Returns the wrapped Servlet::Http::HttpServletRequest

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

	   Parameters:

	   $request
	       the Servlet::Http::HttpServletRequest to	be wrapped

SEE ALSO
       Servlet::Http::HttpServletRequest, Servlet::ServletRequestWrapper

AUTHOR
       Brian Moseley, bcm@maz.org

perl v5.32.0			  2Servlet::Http::HttpServletRequestWrapper(3)

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

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Servlet::Http::HttpServletRequestWrapper&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help