Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

HttpQueryParams Class Reference

Inheritance diagram for HttpQueryParams:

HttpParams List of all members.

Public Member Functions

 this ()
 this (HttpParams source)

Protected Member Functions

bool handleMissingSeparator (char[] s, inout HttpToken element)

Private Types

typedef HttpTokens parse parse

Private Member Functions

void parse (IBuffer input)
 this (char separator, bool inclusive=false)
 this (HttpTokens source)
HttpParams clone ()

Detailed Description

Maintains a set of HTTP query parameters. This is a specialization of HttpParams, with support for parameters without a '=' separator as would normally be expected.

Definition at line 52 of file HttpQueryParams.d.


Member Typedef Documentation

typedef HttpTokens parse parse [inherited]
 

Definition at line 66 of file HttpParams.d.


Member Function Documentation

this  )  [inline]
 

Construct parameters by telling the TokenStack that name/value pairs are seperated by a '=' character.

Reimplemented from HttpParams.

Definition at line 61 of file HttpQueryParams.d.

this HttpParams  source  )  [inline]
 

Clone a source set of HttpParams

Reimplemented from HttpParams.

Definition at line 72 of file HttpQueryParams.d.

bool handleMissingSeparator char[]  s,
inout HttpToken  element
[inline, protected]
 

overridable method to handle the case where a token does not have a separator. Apparently, this can happen in HTTP usage

Reimplemented from HttpTokens.

Definition at line 85 of file HttpQueryParams.d.

void parse IBuffer  input  )  [inline, inherited]
 

Read all query parameters. Everything is mapped rather than being allocated & copied

Reimplemented from HttpTokens.

Definition at line 120 of file HttpParams.d.

References HttpParams::amp, Token::getLength(), BoundToken::next(), TokenStack::push(), and HttpTokens::setParsed().

this char  separator,
bool  inclusive = false
[inline, inherited]
 

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 120 of file HttpTokens.d.

References HttpTokens::inclusive, HttpTokens::input, HttpTokens::separator, HttpTokens::sepString, HttpTokens::stack, and TokenStack.

this HttpTokens  source  )  [inline, inherited]
 

Clone a source set of HttpTokens

Definition at line 140 of file HttpTokens.d.

References TokenStack::clone(), HttpTokens::inclusive, HttpTokens::input, HttpTokens::output, HttpTokens::parsed, HttpTokens::separator, HttpTokens::sepString, and HttpTokens::stack.

HttpParams clone  )  [inline, inherited]
 

Clone this set of HttpParams

Reimplemented in HttpMutableParams.

Definition at line 108 of file HttpParams.d.

References HttpParams.


The documentation for this class was generated from the following file:
Generated on Mon Nov 14 10:59:54 2005 for Mango by  doxygen 1.4.0