#include <http.h>
Inheritance diagram for PHTTPString:
Public Member Functions | |
PHTTPString (const PURL &url) | |
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 BOOL | LoadHeaders (PHTTPRequest &request) |
virtual PString | LoadText (PHTTPRequest &request) |
const PString & | GetString () |
void | SetString (const PString &str) |
Protected Attributes | |
PString | string |
|
Contruct a new simple string resource for the HTTP space. If no MIME content type is specified then a default type is "text/html". |
|
|
|
|
|
|
|
|
|
|
|
Get the string for this resource.
|
|
Get the headers for block of data (eg HTML) that the resource contains. This will fill in all the fields of the
Implements PHTTPResource. |
|
Get a block of text data (eg HTML) that the resource contains. The default behaviour is to assert, one of LoadText()# or LoadData()# functions must be overridden for correct operation.
Reimplemented from PHTTPResource. Reimplemented in PRegisterPage, and PServiceHTTPString. |
|
Set the string to be returned by this resource. |
|
|