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) |
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() |
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) |
String |
toString()
Debug purpose
|
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()
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)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.