| Modifier and Type | Field and Description |
|---|---|
| private Parameters | |
| private Parameters | |
| pack-priv final DataChunk | |
| public static final Charset | |
| public static final String | |
| private boolean | |
| private boolean | |
| pack-priv Charset | |
| pack-priv MimeHeaders | |
| public static final int | |
| private int | |
| private static final Logger | LOGGER
Default Logger. |
| private final BufferChunk | |
| private final BufferChunk | |
| private int | |
| private final LinkedHashMap | |
| private Parameters | |
| pack-priv DataChunk | |
| pack-priv Charset | |
| pack-priv final BufferChunk | |
| pack-priv final CharChunk | |
| pack-priv final BufferChunk | |
| pack-priv final CharChunk |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public Parameters | |
| public Charset | |
| public String | |
| public Set | |
| public String[] | |
| public Charset | |
| public void | |
| private void | |
| private static void | merge2(LinkedHashMap<String, ArrayList<String>> one, LinkedHashMap<String, ArrayList<String>> two)
Combine 2 hashtables into a new one. |
| public String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private String |
| child | back to summary |
|---|---|
| private Parameters child | |
| currentChild | back to summary |
|---|---|
| private Parameters currentChild | |
| decodedQuery | back to summary |
|---|---|
| pack-priv final DataChunk decodedQuery | |
| DEFAULT_CHARSET | back to summary |
|---|---|
| public static final Charset DEFAULT_CHARSET | |
| DEFAULT_ENCODING | back to summary |
|---|---|
| public static final String DEFAULT_ENCODING | |
| didMerge | back to summary |
|---|---|
| private boolean didMerge | |
| didQueryParameters | back to summary |
|---|---|
| private boolean didQueryParameters | |
| encoding | back to summary |
|---|---|
| pack-priv Charset encoding | |
| headers | back to summary |
|---|---|
| pack-priv MimeHeaders headers | |
| INITIAL_SIZE | back to summary |
|---|---|
| public static final int INITIAL_SIZE | |
| limit | back to summary |
|---|---|
| private int limit | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Default Logger. | |
| origName | back to summary |
|---|---|
| private final BufferChunk origName | |
| origValue | back to summary |
|---|---|
| private final BufferChunk origValue | |
| parameterCount | back to summary |
|---|---|
| private int parameterCount | |
| paramHashValues | back to summary |
|---|---|
| private final LinkedHashMap<String, ArrayList<String>> paramHashValues | |
| parent | back to summary |
|---|---|
| private Parameters parent | |
| queryDC | back to summary |
|---|---|
| pack-priv DataChunk queryDC | |
| queryStringEncoding | back to summary |
|---|---|
| pack-priv Charset queryStringEncoding | |
| tmpName | back to summary |
|---|---|
| pack-priv final BufferChunk tmpName | |
| tmpNameC | back to summary |
|---|---|
| pack-priv final CharChunk tmpNameC | |
| tmpValue | back to summary |
|---|---|
| pack-priv final BufferChunk tmpValue | |
| tmpValueC | back to summary |
|---|---|
| pack-priv final CharChunk tmpValueC | |
| Parameters | back to summary |
|---|---|
| public Parameters() | |
| addParameter | back to summary |
|---|---|
| public void addParameter(String key, String value) throws IllegalStateException | |
| addParameterValues | back to summary |
|---|---|
| public void addParameterValues(String key, String[] newValues) | |
| getCurrentSet | back to summary |
|---|---|
| public Parameters getCurrentSet() | |
| getEncoding | back to summary |
|---|---|
| public Charset getEncoding() | |
| getParameter | back to summary |
|---|---|
| public String getParameter(final String name) | |
| getParameterNames | back to summary |
|---|---|
| public Set | |
| getParameterValues | back to summary |
|---|---|
| public String[] getParameterValues(String name) | |
| getQueryStringEncoding | back to summary |
|---|---|
| public Charset getQueryStringEncoding() | |
| handleQueryParameters | back to summary |
|---|---|
| public void handleQueryParameters() Process the query string into parameters | |
| merge | back to summary |
|---|---|
| private void merge() Combine the parameters from parent with our local ones | |
| merge2 | back to summary |
|---|---|
| private static void merge2(LinkedHashMap<String, ArrayList<String>> one, LinkedHashMap<String, ArrayList<String>> two) Combine 2 hashtables into a new one. ( two will be added to one ). Used to combine child parameters ( RequestDispatcher's query ) with parent parameters ( original query or parent dispatcher ) | |
| paramsAsString | back to summary |
|---|---|
| public String paramsAsString() Debug purpose | |
| pop | back to summary |
|---|---|
| public void pop() Discard the last child. This happens when we return from a sub-request and the parameters are locally modified. | |
| processParameters | back to summary |
|---|---|
| public void processParameters(final Buffer buffer, final int start, final int len) | |
| processParameters | back to summary |
|---|---|
| public void processParameters(final Buffer buffer, final int start, final int len, final Charset enc) | |
| processParameters | back to summary |
|---|---|
| public void processParameters(char[] chars, int start, int len) | |
| processParameters | back to summary |
|---|---|
| public void processParameters(final DataChunk data) | |
| processParameters | back to summary |
|---|---|
| public void processParameters(final DataChunk data, final Charset encoding) | |
| processParameters | back to summary |
|---|---|
| public void processParameters(String str) | |
| push | back to summary |
|---|---|
| public void push() Create ( or reuse ) a child that will be used during a sub-request. All future changes ( setting query string, adding parameters ) will affect the child ( the parent request is never changed ). Both setters and getters will return the data from the deepest child, merged with data from parents. | |
| recycle | back to summary |
|---|---|
| public void recycle() | |
| setEncoding | back to summary |
|---|---|
| public void setEncoding(final Charset encoding) | |
| setHeaders | back to summary |
|---|---|
| public void setHeaders(final MimeHeaders headers) | |
| setLimit | back to summary |
|---|---|
| public void setLimit(int limit) | |
| setQuery | back to summary |
|---|---|
| public void setQuery(final DataChunk queryBC) | |
| setQueryStringEncoding | back to summary |
|---|---|
| public void setQueryStringEncoding(final Charset queryStringEncoding) | |
| urlDecode | back to summary |
|---|---|
| private String urlDecode(final BufferChunk bc, final Charset enc) throws IOException | |