org.apache.tomcat.util.http
Class Parameters
java.lang.Object
org.apache.tomcat.util.http.Parameters
- public final class Parameters
- extends java.lang.Object
- Author:
- Costin Manolache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sm
protected static final StringManager sm
Parameters
public Parameters()
setQuery
public void setQuery(MessageBytes queryMB)
setLimit
public void setLimit(int limit)
getEncoding
public java.lang.String getEncoding()
setEncoding
public void setEncoding(java.lang.String s)
setQueryStringEncoding
public void setQueryStringEncoding(java.lang.String s)
isParseFailed
public boolean isParseFailed()
setParseFailed
public void setParseFailed(boolean parseFailed)
recycle
public void recycle()
addParameterValues
public void addParameterValues(java.lang.String key,
java.lang.String[] newValues)
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterNames
public java.util.Enumeration getParameterNames()
getParameter
public java.lang.String getParameter(java.lang.String name)
handleQueryParameters
public void handleQueryParameters()
- Process the query string into parameters
setURLDecoder
public void setURLDecoder(UDecoder u)
processParameters
public void processParameters(byte[] bytes,
int start,
int len)
processParameters
public void processParameters(MessageBytes data,
java.lang.String encoding)
paramsAsString
public java.lang.String paramsAsString()
- Debug purpose
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.