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 |
Constructor and Description |
---|
Parameters() |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(java.lang.String key,
java.lang.String value) |
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() |
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) |
java.lang.String |
toString()
Debug purpose
|
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()
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 toString()
toString
in class java.lang.Object
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.