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