PHTTPRequest Class Reference

#include <http.h>

Inheritance diagram for PHTTPRequest:

PObject PHTTPFileRequest PHTTPDirRequest List of all members.

Public Member Functions

 PHTTPRequest (const PURL &url, const PMIMEInfo &inMIME, const PMultipartFormInfoArray &multipartFormInfo, PHTTPServer &server)

Public Attributes

PHTTPServerserver
 Server channel that request initiated on.
const PURLurl
 Universal Resource Locator for document.
const PMIMEInfoinMIME
 Extra MIME information in command.
const PMultipartFormInfoArray & multipartFormInfo
 multipart form information, if any
PHTTP::StatusCode code
 Status code for OnError() reply.
PMIMEInfo outMIME
 MIME information used in reply.
PString entityBody
 original entity body (POST only)
PINDEX contentSize
 Size of the body of the resource data.
PIPSocket::Address origin
 IP address of origin host for request.
PIPSocket::Address localAddr
 IP address of local interface for request.
WORD localPort
 Port number of local server for request.

Detailed Description

This object describes a HyperText Transport Protocol request. An individual request is passed to handler functions on PHTTPResource# descendant classes.


Constructor & Destructor Documentation

PHTTPRequest::PHTTPRequest ( const PURL url,
const PMIMEInfo inMIME,
const PMultipartFormInfoArray &  multipartFormInfo,
PHTTPServer server 
)

Parameters:
url  Universal Resource Locator for document.
inMIME  Extra MIME information in command.
multipartFormInfo  multipart form information (if any)
server  Server channel that request initiated on


Member Data Documentation

PHTTPServer& PHTTPRequest::server

Server channel that request initiated on.

const PURL& PHTTPRequest::url

Universal Resource Locator for document.

const PMIMEInfo& PHTTPRequest::inMIME

Extra MIME information in command.

const PMultipartFormInfoArray& PHTTPRequest::multipartFormInfo

multipart form information, if any

PHTTP::StatusCode PHTTPRequest::code

Status code for OnError() reply.

PMIMEInfo PHTTPRequest::outMIME

MIME information used in reply.

PString PHTTPRequest::entityBody

original entity body (POST only)

PINDEX PHTTPRequest::contentSize

Size of the body of the resource data.

PIPSocket::Address PHTTPRequest::origin

IP address of origin host for request.

PIPSocket::Address PHTTPRequest::localAddr

IP address of local interface for request.

WORD PHTTPRequest::localPort

Port number of local server for request.


The documentation for this class was generated from the following file:
Generated on Mon Dec 10 11:18:59 2007 for PTLib by  doxygen 1.5.1