|
Static Public Member Methods inherited from HttpServer::AbstractHttpRequestHandler |
static data | decodeBody (string content_encoding, binary body, *string string_encoding) |
| decodes a message body with content-encoding
|
|
static binary | encodeBody (string content_encoding, data body) |
| encodes a message body with content-encoding
|
|
static *string | getLogMessage (hash< auto > cx, hash api, reference params, *reference< string > args) |
| helper method for handling log messages More...
|
|
static hash< HttpResponseInfo > | make200 (hash< auto > hdr, InputStream chunked_body) |
| creates a hash for an HTTP 200 OK error response with the response message body from an input stream
|
|
static hash< HttpResponseInfo > | make200 (hash< auto > hdr, string fmt) |
| creates a hash for an HTTP 200 OK error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | make200 (InputStream chunked_body) |
| creates a hash for an HTTP 200 OK error response with the response message body from an input stream
|
|
static hash< HttpResponseInfo > | make200 (string fmt) |
| creates a hash for an HTTP 200 OK error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | make400 (hash< auto > hdr, string fmt) |
| creates a hash for an HTTP 400 error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | make400 (string fmt) |
| creates a hash for an HTTP 400 error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | make500 (hash< auto > hdr, string fmt) |
| creates a hash for an HTTP 500 error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | make500 (string fmt) |
| creates a hash for an HTTP 500 error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | make501 (hash< auto > hdr, string fmt) |
| creates a hash for an HTTP 501 error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | make501 (string fmt) |
| creates a hash for an HTTP 501 error response with the response message body as a string
|
|
static hash< HttpResponseInfo > | makeResponse (hash< auto > hdr, int code, string fmt) |
| creates a hash for an HTTP response with the response code and the response message body as a formatted string
|
|
static hash< HttpResponseInfo > | makeResponse (int code, *data body, *hash< auto > hdr) |
| creates a hash for an HTTP response with the response code and a literal response message body
|
|
static hash< HttpResponseInfo > | makeResponse (int code, *InputStream chunked_body, *hash< auto > hdr) |
| creates a hash for an HTTP response with the response code and a response message body from an input stream More...
|
|
static hash< HttpResponseInfo > | makeResponse (int code, string fmt) |
| creates a hash for an HTTP response with the response code and the response message body as a formatted string
|
|
static hash< HttpResponseInfo > | redirect (hash< auto > cx, hash< auto > request_hdr, string path, int status_code=301, *hash< auto > response_hdr) |
| generates a redirect hash for the given path
|
|
static | staticNotificationCleanup () |
| removes the thread-local data key in case the object is destroyed in another thread
|
|
static | staticPersistenceCleanup () |
| removes the thread-local data key in case the object is destroyed in another thread
|
|
Private Member Methods inherited from HttpServer::AbstractHttpRequestHandler |
nothing | checkPersistent (hash< auto > cx, hash< auto > hdr) |
| this method will throw an exception if a persistent connection cannot be granted
|
|
AbstractStreamRequest | getStreamRequestImpl (HttpListenerInterface listener, Socket s, hash< auto > cx, hash< auto > hdr, *data body) |
| returns the AbstractStreamRequest object for handling chunked requests
|
|