Logo Search packages:      
Sourcecode: pwlib version File versions

PHTTPConnectionInfo Class Reference

#include <http.h>

Inheritance diagram for PHTTPConnectionInfo:

PObject

List of all members.


Detailed Description

This object describes the connectiono associated with a HyperText Transport Protocol request. This information is required by handler functions on PHTTPResource# descendant classes to manage the connection correctly.

Definition at line 649 of file http.h.


I/O functions

ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)
virtual void PrintOn (ostream &strm) const
virtual void ReadFrom (istream &strm)

Comparison functions

virtual Comparison Compare (const PObject &obj) const
virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
virtual BOOL InternalIsDescendant (const char *clsName) const
BOOL IsClass (const char *cls) const
static const char * Class ()

Public Member Functions

PHTTP::Commands GetCommandCode () const
const PStringGetCommandName () const
PString GetEntityBody () const
long GetEntityBodyLength () const
int GetMajorVersion () const
const PMIMEInfo & GetMIME () const
int GetMinorVersion () const
const PMultipartFormInfoArray & GetMultipartFormInfo () const
unsigned GetPersistenceMaximumTransations () const
PTimeInterval GetPersistenceTimeout () const
const PURLGetURL () const
BOOL IsCompatible (int major, int minor) const
BOOL IsPersistant () const
BOOL IsProxyConnection () const
void ResetMultipartFormInfo ()
void SetMIME (const PString &tag, const PString &value)
void SetPersistenceMaximumTransations (unsigned m)
void SetPersistenceTimeout (const PTimeInterval &t)
BOOL WasPersistant () const
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Protected Member Functions

void DecodeMultipartFormInfo (const PString &type, const PString &entityBody)
BOOL Initialise (PHTTPServer &server, PString &args)

Protected Attributes

PHTTP::Commands commandCode
PString commandName
PString entityBody
long entityBodyLength
BOOL isPersistant
BOOL isProxyConnection
int majorVersion
PMIMEInfo mimeInfo
int minorVersion
PMultipartFormInfoArray multipartFormInfoArray
unsigned persistenceMaximum
PTimeInterval persistenceTimeout
PURL url
BOOL wasPersistant

Friends

class PHTTPServer

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index