public final class Parameters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Parameters.FailReason |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ENCODING |
protected static StringManager |
sm |
Constructor and Description |
---|
Parameters() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(java.lang.String key,
java.lang.String value) |
void |
addParameterValues(java.lang.String key,
java.lang.String[] newValues)
Deprecated.
|
java.lang.String |
getEncoding() |
java.lang.String |
getParameter(java.lang.String name) |
java.util.Enumeration<java.lang.String> |
getParameterNames() |
java.lang.String[] |
getParameterValues(java.lang.String name) |
Parameters.FailReason |
getParseFailedReason() |
void |
handleQueryParameters()
Process the query string into parameters
|
boolean |
isParseFailed() |
java.lang.String |
paramsAsString()
Debug purpose
|
void |
processParameters(byte[] bytes,
int start,
int len) |
void |
processParameters(MessageBytes data,
java.lang.String encoding) |
void |
recycle() |
void |
setEncoding(java.lang.String s) |
void |
setLimit(int limit) |
void |
setParseFailedReason(Parameters.FailReason failReason) |
void |
setQuery(MessageBytes queryMB) |
void |
setQueryStringEncoding(java.lang.String s) |
void |
setURLDecoder(UDecoder u) |
protected static final StringManager sm
public static final java.lang.String DEFAULT_ENCODING
public void setQuery(MessageBytes queryMB)
public void setLimit(int limit)
public java.lang.String getEncoding()
public void setEncoding(java.lang.String s)
public void setQueryStringEncoding(java.lang.String s)
public boolean isParseFailed()
public Parameters.FailReason getParseFailedReason()
public void setParseFailedReason(Parameters.FailReason failReason)
public void recycle()
@Deprecated public void addParameterValues(java.lang.String key, java.lang.String[] newValues)
public java.lang.String[] getParameterValues(java.lang.String name)
public java.util.Enumeration<java.lang.String> getParameterNames()
public java.lang.String getParameter(java.lang.String name)
public void handleQueryParameters()
public void addParameter(java.lang.String key, java.lang.String value) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public void setURLDecoder(UDecoder u)
public void processParameters(byte[] bytes, int start, int len)
public void processParameters(MessageBytes data, java.lang.String encoding)
public java.lang.String paramsAsString()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.