Package org.apache.tomcat.util.http
Class Parameters
java.lang.Object
org.apache.tomcat.util.http.Parameters
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.This will be removed in Tomcat 9.0.x
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddParameter(String key, String value) Deprecated.This method will be removed in Tomcat 9.0.xgetParameter(String name) String[]getParameterValues(String name) voidProcess the query string into parametersbooleanvoidprocessParameters(byte[] bytes, int start, int len) voidprocessParameters(MessageBytes data, String encoding) Deprecated.This method will be removed in Tomcat 9.0.xvoidprocessParameters(MessageBytes data, Charset charset) voidrecycle()voidsetCharset(Charset charset) voidDeprecated.This method will be removed in Tomcat 9.0.xvoidsetLimit(int limit) voidsetParseFailedReason(Parameters.FailReason failReason) voidsetQuery(MessageBytes queryMB) voidsetQueryStringCharset(Charset queryStringCharset) voidDeprecated.This method will be removed in Tomcat 9voidintsize()toString()Debug purpose
- 
Field Details- 
DEFAULT_ENCODINGDeprecated.This will be removed in Tomcat 9.0.x- See Also:
 
 
- 
- 
Constructor Details- 
Parameterspublic Parameters()
 
- 
- 
Method Details- 
setQuery
- 
setLimitpublic void setLimit(int limit) 
- 
getEncodingDeprecated.This method will be removed in Tomcat 9.0.x- Returns:
- The current encoding
 
- 
getCharset
- 
setEncodingDeprecated.This method will be removed in Tomcat 9.0.x- Parameters:
- s- The new encoding
 
- 
setCharset
- 
setQueryStringEncodingDeprecated.This method will be removed in Tomcat 9- Parameters:
- s- The new query string encoding
 
- 
setQueryStringCharset
- 
isParseFailedpublic boolean isParseFailed()
- 
getParseFailedReason
- 
setParseFailedReason
- 
sizepublic int size()
- 
recyclepublic void recycle()
- 
getParameterValues
- 
getParameterNames
- 
getParameter
- 
handleQueryParameterspublic void handleQueryParameters()Process the query string into parameters
- 
addParameter- Throws:
- IllegalStateException
 
- 
setURLDecoder
- 
processParameterspublic void processParameters(byte[] bytes, int start, int len) 
- 
processParametersDeprecated.This method will be removed in Tomcat 9.0.x- Parameters:
- data- Parameter data
- encoding- Encoding to use for encoded bytes
 
- 
processParameters
- 
toStringDebug purpose
 
-