Apache::Wombat::Request - Apache connector request class
Apache connector request class. Extends Wombat::Connector::HttpRequestBase. Overrides many superclass methods to delegate to an underlying Apache::Request instance.
Create and return an instance, initializing fields to default values.
Return the value of the named attribute from the Apache pnotes table.
Parameters:
the name of the attribute
Return an array containing the names of the attributes available in the Apache pnotes table.
Remove the named attribute from the Apache pnotes table.
Set the named attribute in the Apache pnotes table.
the value to be set, a scalar or a reference
Return the authentication type used for this Request.
Set the authentication type used for this request.
the authentication type, as defined in Servlet::Http::HttpServletRequest
Servlet::Http::HttpServletRequest
Return the value of the named header from the Apache headers_in table as the number of seconds since the epoch, or -1.
the header name
Add a value for the named request header to the Apache headers_in table.
the parameter name
the parameter value, scalar
Return the first value for the named request header from the Apache headers_in table.
Return the names of all the request headers from the Apache headers_in table.
Return the list of values for the named request header from the Apache headers_in table.
Unset all request headers from the Apache headers_in table.
Return the HTTP request method used for this Request.
Set the HTTP request method used for this Request.
the request method
Return the value of the named request parameter from the Apache::Request params structure. If more than one value is defined, return only the first one.
the name of the parameter
Return an array containing the names of the parameters contained in the Apache::Request params structure.
Return an array containing all of the values of the named request parameter from the Apache::Request params structure.
Add a named parameter with one or more values to the Apache::Request params table.
the name of the parameter to add
a list of one or more parameter values, scalar or undef
undef
Clear the set of parameters from the Apache::Request params table.
Return the name and version of the protocol used for the request.
Set the name and version of the protocol used for the request in the form protocol/majorVersion.minorVersion.
the name and version of the protocol
Return the query string for this Request.
Set the query string for this Request. This is normally called by the Connector when it parses the request headers.
the query string
Return the remote IP address of the client making this request.
Set the remote IP address of the client making this request. This value will be used to resolve the name of the remote host if necessary (see getRemoteHost()).
getRemoteHost()
the remote IP address
Return the remote host name of the client making this request.
Set the remote host name of the client making this request.
the remote host name
Return the Apache request record for this Request.
Set the Apache request record for this Request.
the Apache::Request instance
Return the request URI for this Request.
Set the unparsed request URI for this Request. This is normally called by the Connector when it parses the request headers.
the request URI
Release all object references and initialize instances variables in preparation for use or reuse of this object.
Apache, Apache::Request, Apache::Table, Apache::Util, Wombat::Connector::HttpRequestBase
Brian Moseley, bcm@maz.org
To install Apache::Wombat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Wombat
CPAN shell
perl -MCPAN -e shell install Apache::Wombat
For more information on module installation, please visit the detailed CPAN module installation guide.