class HttpRequestBuilder
This class constructs the parts of the Request by implementing the RequestBuilder interface, defines and keeps track of the representation it creates and provides an interface for retrieving the Request object.
Located in /httprequestbuilder.class.php (line 20)
RequestBuilder | --HttpRequestBuilder
function __construct
This method is executed when an object is instantiated from this class. Preprocessing can be done here before the object is put into service.
function BuildHttpAccept
This method sets the contents of the Accept: header from the current request, if there is one.
function BuildHttpAcceptCharset
This method sets the contents of the Accept-Charset: header from the current request, if there is one.
function BuildHttpAcceptEncoding
This method sets the contents of the Accept-Encoding: header from the current request, if there is one.
function BuildHttpAcceptLanguage
This method sets the contents of the Accept-Language: header from the current request, if there is one.
function BuildHttpConnection
This method sets the contents of the Connection: header from the current request, if there is one.
function BuildHttpGet
This method sets variables provided to the script via HTTP GET.
function BuildHttpHost
This method sets the contents of the Host: header from the current request, if there is one.
function BuildHttpPost
This method sets variables provided to the script via HTTP POST.
function BuildHttpReferer
This method sets the address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
function BuildHttpUserAgent
This method sets the contents of the User-Agent: header from the current request, if there is one. This is a string denoting the user agent being which is accessing the page.
function BuildQueryString
This method sets the query string, if any, via which the page was accessed.
function BuildRemoteAddress
This method sets the IP address from which the user is viewing the current page.
function BuildRemoteHost
This method sets the Host name from which the user is viewing the current page. The reverse dns lookup is based off the REMOTE_ADDR of the user.
function BuildRemotePort
This method sets the port being used on the user's machine to communicate with the web server.
function BuildRemoteProxyAddr
This method sets the proxy IP address from which the user is being forwarded.
function BuildRemoteProxyHost
This method sets the Host name from which the user is being forwarded The reverse dns lookup is based off the REMOTE_PROXY_ADDR of the user.
function BuildRequestMethod
This method sets the request method that was used to access the page.
function BuildRequestUri
This method retreives the URI which was given in order to access this page.
function BuildServerProtocol
This method sets the name and revision of the information protocol via which the page was requested.
function GetHttpClientIPAddress
This method sets the end user's IP address and proxy address if there is one.
function GetInstance
This method instantiates a new object from this class; more specifically, it's a singleton instance.
function GetRequest
This method returns the Request object to the calling method.
Inherited From RequestBuilder
RequestBuilder::BuildHttpAccept()
RequestBuilder::BuildHttpAcceptCharset()
RequestBuilder::BuildHttpAcceptEncoding()
RequestBuilder::BuildHttpAcceptLanguage()
RequestBuilder::BuildHttpConnection()
RequestBuilder::BuildHttpGet()
RequestBuilder::BuildHttpHost()
RequestBuilder::BuildHttpPost()
RequestBuilder::BuildHttpReferer()
RequestBuilder::BuildHttpUserAgent()
RequestBuilder::BuildQueryString()
RequestBuilder::BuildRemoteAddress()
RequestBuilder::BuildRemoteHost()
RequestBuilder::BuildRemotePort()
RequestBuilder::BuildRemoteProxyAddr()
RequestBuilder::BuildRemoteProxyHost()
RequestBuilder::BuildRequestMethod()
RequestBuilder::BuildRequestUri()
RequestBuilder::BuildServerProtocol()
RequestBuilder::GetRequest()
Documentation generated on Thu, 9 Sep 2004 09:03:36 -0400 by phpDocumentor 1.3.0RC3