Wombat::HttpRequest - internal http request interface
This interface extends Servlet::Http::HttpServletRequest and Wombat::Request to provide fields and methods accessible only to the container.
Add a Cookie to the set of Cookies for this Request.
Parameters:
the Servlet::Http::Cookie
Add a value for the named request header.
the parameter name
the parameter value, scalar
Remove all Cookies for this Request.
Unset all headers for this Request.
Set the authentication type used for this request, or undef for no authentication.
undef
the authentication type, as defined in Servlet::Http::HttpServletRequest
Servlet::Http::HttpServletRequest
Set the context path for this Request. This will normally be called when the associated Application is mapping the Request to a particular Wrapper.
the context path
Set the HTTP request method used for this Request.
the request method
Set the query string for this Request. This will normally be called by the Connector when it parses the request headers.
the query string
Set the path information for this Request. This will normally be called when the associated Application is mapping the Request to a particular Wrapper.
the path information
Set a flag indicating whether or not the requested session ID for this Request came in through a cookie. This is normally called by the Connector when it parses the request headers.
a boolean value
Set the requested session ID for this Request. This is normally called by the Connector when it parses the request headers.
the session id
Set a flag indicating whether or not the requested session ID for this Request came in through the request URL. This is normally called by the Connector when it parses the request headers.
Set the unparsed request URI for this Request. This is normally called by the Connector when it parses the request headers.
the request URI
Set the servlet path for this Request. This is normally called when the associated Application is mapping the Request to a particular Wrapper.
the servlet path
Set the internal Session associated with this Request.
The Wombat::Core::Session to set
Set the principal that has been authenticated for this Request. This value is also used to calculate the value to be returned by "getRemoteUser()" in Wombat::Request.
the user principal
Servlet::Http::Cookie, Servlet::Http::HttpServletRequest, Wombat::Request
Brian Moseley, bcm@maz.org
To install Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wombat
CPAN shell
perl -MCPAN -e shell install Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.