Construct parameters by telling the HttpStack that name/value pairs are seperated by a '=' character.
Add a name/value pair to the query list
Add a name/date(long) pair to the query list
Add a name/integer pair to the query list
Return the value of the provided header, or null if the header does not exist
Return the date value of the provided header, or the provided default-value if the header does not exist
Return the integer value of the provided header, or the provided default-value if the header does not exist
Read all query parameters. Everything is mapped rather than being allocated & copied
Output the param list to the provided consumer
Return the number of headers
Read all tokens. Everything is mapped rather than being allocated & copied
Parse an input string.
Reset this set of tokens.
Have tokens been parsed yet?
Indicate whether tokens have been parsed or not.
Return the value of the provided header, or null if the header does not exist
Return the integer value of the provided header, or the provided default-vaule if the header does not exist
Return the date value of the provided header, or the provided default-value if the header does not exist
Iterate over the set of tokens
Output the token list to the provided consumer
overridable method to handle the case where a token does not have a separator. Apparently, this can happen in HTTP usage
Create a filter for iterating over the tokens matching a particular name.
Implements a filter for iterating over tokens matching a particular name. We do it like this because there's no means of passing additional information to an opApply() method.
Return a char[] representing the output. An empty array is returned if output was not configured. This perhaps could just return our 'output' buffer content, but that would not reflect deletes, or seperators. Better to do it like this instead, for a small cost.
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.
Add a simple name/value pair to the output
Add a name/integer pair to the output
Add a name/date(long) pair to the output
remove a token from our list. Returns false if the named token is not found.
Return the number of headers
Return the value of the provided header, or null if the header does not exist
Return the integer value of the provided header, or the provided default-value if the header does not exist
Return the date value of the provided header, or the provided default-value if the header does not exist
Output the param list to the provided consumer
Maintains a set of query parameters, parsed from an HTTP request. Use HttpParams instead for output parameters.
Note that these input params may have been encoded by the user- agent. Unfortunately there has been little consensus on what that encoding should be (especially regarding GET query-params). With luck, that will change to a consistent usage of UTF-8 within the near future.