Package org.apache.tomcat.util.http
Class Parameters
java.lang.Object
org.apache.tomcat.util.http.Parameters
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String key, String value) getParameter
(String name) String[]
getParameterValues
(String name) void
Process the query string into parametersboolean
void
processParameters
(byte[] bytes, int start, int len) void
processParameters
(MessageBytes data, Charset charset) void
recycle()
void
setCharset
(Charset charset) void
setLimit
(int limit) void
setParseFailedReason
(Parameters.FailReason failReason) void
setQuery
(MessageBytes queryMB) void
setQueryStringCharset
(Charset queryStringCharset) void
int
size()
toString()
Debug purpose
-
Constructor Details
-
Parameters
public Parameters()
-
-
Method Details
-
setQuery
-
setLimit
public void setLimit(int limit) -
getCharset
-
setCharset
-
setQueryStringCharset
-
isParseFailed
public boolean isParseFailed() -
getParseFailedReason
-
setParseFailedReason
-
size
public int size() -
recycle
public void recycle() -
getParameterValues
-
getParameterNames
-
getParameter
-
handleQueryParameters
public void handleQueryParameters()Process the query string into parameters -
addParameter
- Throws:
IllegalStateException
-
setURLDecoder
-
processParameters
public void processParameters(byte[] bytes, int start, int len) -
processParameters
-
toString
Debug purpose
-