public final class Parameters extends Object
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) |
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 |
setParseFailed(boolean parseFailed) |
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 void setParseFailed(boolean parseFailed)
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-2014 Apache Software Foundation. All Rights Reserved.