|
| PConfigSectionsPage (PHTTPServiceProcess &app, const PURL &url, const PHTTPAuthority &auth, const PString &prefix, const PString &valueName, const PURL &editSection, const PURL &newSection, const PString &newTitle, PHTML &heading) |
|
void | OnLoadedText (PHTTPRequest &, PString &text) |
| This is called after the text has been loaded and may be used to customise or otherwise mangle a loaded piece of text. More...
|
|
virtual PBoolean | OnPOST (PHTTPServer &server, const PHTTPConnectionInfo &connectInfo) |
| Handle the POST command passed from the HTTP socket. More...
|
|
virtual PBoolean | Post (PHTTPRequest &request, const PStringToString &data, PHTML &replyMessage) |
| Get a block of data (eg HTML) that the resource contains. More...
|
|
| PHTTPConfigSectionList (const PURL &url, const PHTTPAuthority &auth, const PString §ionPrefix, const PString &additionalValueName, const PURL &editSection, const PURL &newSection, const PString &newSectionTitle, PHTML &heading) |
|
| PHTTPString (const PURL &url) |
| Contruct a new simple string resource for the HTTP space. More...
|
|
| PHTTPString (const PURL &url, const PHTTPAuthority &auth) |
|
| PHTTPString (const PURL &url, const PString &str) |
|
| PHTTPString (const PURL &url, const PString &str, const PString &contentType) |
|
| PHTTPString (const PURL &url, const PString &str, const PHTTPAuthority &auth) |
|
| PHTTPString (const PURL &url, const PString &str, const PString &contentType, const PHTTPAuthority &auth) |
|
virtual PBoolean | LoadHeaders (PHTTPRequest &request) |
| Get the headers for block of data (eg HTML) that the resource contains. More...
|
|
virtual PString | LoadText (PHTTPRequest &request) |
| Get a block of text data (eg HTML) that the resource contains. More...
|
|
const PString & | GetString () |
| Get the string for this resource. More...
|
|
void | SetString (const PString &str) |
| Set the string to be returned by this resource. More...
|
|
virtual | ~PHTTPResource () |
|
const PURL & | GetURL () const |
| Get the URL for this resource. More...
|
|
PString | GetHotLink () const |
| Get relative hot link for this resouce. More...
|
|
const PString & | GetContentType () const |
| Get the current content type for the resource. More...
|
|
PHTTPAuthority * | GetAuthority () const |
| Get the current authority for the resource. More...
|
|
void | SetAuthority (const PHTTPAuthority &auth) |
| Set the current authority for the resource. More...
|
|
void | ClearAuthority () |
| Set the current authority for the resource to unrestricted. More...
|
|
DWORD | GetHitCount () const |
| Get the current hit count for the resource. More...
|
|
void | ClearHitCount () |
| Clear the hit count for the resource. More...
|
|
virtual bool | SupportsWebSocketProtocol (const PString &protocol) const |
| Indicate that the web socket protocol is supported by this resource. More...
|
|
virtual bool | OnWebSocket (PHTTPServer &server, PHTTPConnectionInfo &connectInfo) |
| Called when a request indicates a swtch to WebSocket protocol. More...
|
|
virtual bool | OnGET (PHTTPServer &server, const PHTTPConnectionInfo &conInfo) |
| Handle the GET command passed from the HTTP socket. More...
|
|
virtual PBoolean | OnGETData (PHTTPServer &server, const PURL &url, const PHTTPConnectionInfo &connectInfo, PHTTPRequest &request) |
| Send the data associated with a GET command. More...
|
|
virtual bool | OnHEAD (PHTTPServer &server, const PHTTPConnectionInfo &conInfo) |
| Handle the HEAD command passed from the HTTP socket. More...
|
|
virtual PBoolean | OnPOSTData (PHTTPRequest &request, const PStringToString &data) |
| Send the data associated with a POST command. More...
|
|
virtual PBoolean | IsModifiedSince (const PTime &when) |
| Check to see if the resource has been modified since the date specified. More...
|
|
virtual PHTTPRequest * | CreateRequest (const PURL &url, const PMIMEInfo &inMIME, const PMultiPartList &multipartFormInfo, PHTTPServer &socket) |
| Create a new request block for this type of resource. More...
|
|
virtual void | SendData (PHTTPRequest &request) |
| Send the data associated with a command. More...
|
|
virtual PBoolean | LoadData (PHTTPRequest &request, PCharArray &data) |
| Get a block of data that the resource contains. More...
|
|
__inline unsigned | GetTraceContextIdentifier () const |
| Get PTRACE context identifier. More...
|
|
__inline void | SetTraceContextIdentifier (unsigned id) |
|
__inline void | SetTraceContextIdentifier (const PObject &obj) |
|
__inline void | SetTraceContextIdentifier (const PObject *obj) |
|
__inline void | CopyTraceContextIdentifier (PObject &obj) const |
|
__inline void | CopyTraceContextIdentifier (PObject *obj) const |
|
virtual | ~PObject () |
|
__inline const char * | GetClass () const |
|
__inline bool | IsClass (const char *name) const |
|
__inline const PObject * | PTraceObjectInstance () const |
|
virtual PObject * | Clone () const |
| Create a copy of the class on the heap. More...
|
|
template<class CLS > |
CLS * | CloneAs () const |
| As for Clone() but converts to specified type. More...
|
|
virtual PINDEX | HashFunction () const |
| This function yields a hash value required by the PDictionary class. More...
|
|
virtual Comparison | Compare (const PObject &obj) const |
| Compare the two objects and return their relative rank. More...
|
|
virtual Comparison | CompareObjectMemoryDirect (const PObject &obj) const |
| Determine the byte wise comparison of two objects. More...
|
|
bool | operator== (const PObject &obj) const |
| Compare the two objects. More...
|
|
bool | operator!= (const PObject &obj) const |
| Compare the two objects. More...
|
|
bool | operator< (const PObject &obj) const |
| Compare the two objects. More...
|
|
bool | operator> (const PObject &obj) const |
| Compare the two objects. More...
|
|
bool | operator<= (const PObject &obj) const |
| Compare the two objects. More...
|
|
bool | operator>= (const PObject &obj) const |
| Compare the two objects. More...
|
|
virtual void | PrintOn (ostream &strm) const |
| Output the contents of the object to the stream. More...
|
|
virtual void | ReadFrom (istream &strm) |
| Input the contents of the object from the stream. More...
|
|
|
virtual PBoolean | GetExpirationDate (PTime &when) |
| Get a block of data (eg HTML) that the resource contains. More...
|
|
| PHTTPResource (const PURL &url) |
|
| PHTTPResource (const PURL &url, const PHTTPAuthority &auth) |
|
| PHTTPResource (const PURL &url, const PString &contentType) |
|
| PHTTPResource (const PURL &url, const PString &contentType, const PHTTPAuthority &auth) |
|
virtual PBoolean | CheckAuthority (PHTTPServer &server, const PHTTPRequest &request, const PHTTPConnectionInfo &conInfo) |
| See if the resource is authorised given the mime info. More...
|
|
virtual bool | InternalOnCommand (PHTTPServer &server, const PHTTPConnectionInfo &conInfo, PHTTP::Commands cmd) |
| common code for GET and HEAD commands More...
|
|
| P_REMOVE_VIRTUAL (PBoolean, OnGET(PHTTPServer &, const PURL &, const PMIMEInfo &, const PHTTPConnectionInfo &), false) |
|
| P_REMOVE_VIRTUAL (PBoolean, OnHEAD(PHTTPServer &, const PURL &, const PMIMEInfo &, const PHTTPConnectionInfo &), false) |
|
| P_REMOVE_VIRTUAL (PBoolean, OnGETOrHEAD(PHTTPServer &, const PURL &, const PMIMEInfo &, const PHTTPConnectionInfo &, PBoolean), false) |
|
| P_REMOVE_VIRTUAL (PBoolean, OnPOST(PHTTPServer &, const PURL &, const PMIMEInfo &, const PStringToString &, const PHTTPConnectionInfo &), false) |
|
| PObject () |
| Constructor for PObject, made protected so cannot ever create one on its own. More...
|
|