Inheritance diagram for HttpMutableParams:
Public Member Functions | |
this (IBuffer output) | |
this (HttpMutableParams source) | |
HttpMutableParams | clone () |
void | add (char[] name, char[] value) |
void | addInt (char[] name, int value) |
void | addDate (char[] name, long value) |
Private Types | |
typedef HttpTokens parse | parse |
Private Member Functions | |
void | parse (IBuffer input) |
this (HttpParams source) | |
this (char seperator, bool inclusive=false) | |
this (HttpTokens source) | |
void | add (char[] name, void(*dg)(IBuffer)) |
Static Private Member Functions | |
this () |
Definition at line 134 of file HttpParams.d.
|
Definition at line 63 of file HttpParams.d. Referenced by HttpRequest::getInputParameters(). |
|
Construct output params upon the provided IBuffer Definition at line 142 of file HttpParams.d. |
|
Clone a source set of HttpMutableParams Definition at line 154 of file HttpParams.d. |
|
Clone this set of HttpMutableParams Reimplemented from HttpParams. Definition at line 165 of file HttpParams.d. |
|
Add a name/value pair to the query list Reimplemented from HttpTokens. Definition at line 176 of file HttpParams.d. |
|
Add a name/integer pair to the query list Reimplemented from HttpTokens. Definition at line 187 of file HttpParams.d. |
|
Add a name/date(long) pair to the query list Reimplemented from HttpTokens. Definition at line 199 of file HttpParams.d. |
|
Read all query parameters. Everything is mapped rather than being allocated & copied Reimplemented from HttpTokens. Definition at line 117 of file HttpParams.d. References HttpParams::amp, Token::getLength(), BoundToken::next(), TokenStack::push(), and HttpTokens::setParsed(). |
|
Setup a token for extracting each query construct Reimplemented from HttpTokens. Definition at line 71 of file HttpParams.d. References HttpParams::amp. |
|
Clone a source set of HttpParams Definition at line 94 of file HttpParams.d. |
|
Construct a set of tokens based upon the given delimeter, and an indication of whether said delimeter should be considered part of the left side (effectively the name). The latter is useful with headers, since the seperating ':' character should really be considered part of the name for purposes of subsequent token matching. Definition at line 113 of file HttpTokens.d. References HttpTokens::inclusive, HttpTokens::seperator, HttpTokens::sepString, and TokenStack. |
|
Clone a source set of HttpTokens Definition at line 133 of file HttpTokens.d. References TokenStack::clone(), HttpTokens::inclusive, HttpTokens::seperator, and HttpTokens::sepString. |
|
Add a token with the given name. The content is provided via the specified delegate. We stuff this name & content into the output buffer, and map a new Token onto the appropriate buffer slice. Definition at line 439 of file HttpTokens.d. References IBuffer::append(), IBuffer::getLimit(), HttpTokens::inclusive, TokenStack::push(), HttpTokens::sepString, and IBuffer::toString(). Referenced by HttpTokens::add(), HttpTokens::addDate(), and HttpTokens::addInt(). |