Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » http » [javadoc | source]
public final class: Parameters [javadoc | source]
Field Summary
 MessageBytes queryMB     
 MimeHeaders headers     
 UDecoder urlDec     
 MessageBytes decodedQuery     
public static final  int INITIAL_SIZE     
 String encoding     
 String queryStringEncoding     
 ByteChunk tmpName     
 ByteChunk tmpValue     
 CharChunk tmpNameC     
 CharChunk tmpValueC     
Fields inherited from org.apache.tomcat.util.collections.MultiMap:
fields,  count,  NEED_NEXT,  LAST
 public Parameters() 
Method from org.apache.tomcat.util.http.Parameters Summary:
addParameterValues,   getCurrentSet,   getParameter,   getParameterNames,   getParameterValues,   handleQueryParameters,   paramsAsString,   pop,   processParameters,   processParameters,   processParameters,   processParameters,   processParameters,   processParameters,   push,   recycle,   setEncoding,   setHeaders,   setQuery,   setQueryStringEncoding,   setURLDecoder
Methods from org.apache.tomcat.util.collections.MultiMap:
addField,   find,   findFirst,   findIgnoreCase,   findNext,   get,   getName,   getValue,   recycle,   remove,   size
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tomcat.util.http.Parameters Detail:
 public  void addParameterValues(String key,
    String[] newValues) 
 public Parameters getCurrentSet() 
 public String getParameter(String name) 
 public Enumeration getParameterNames() 
 public String[] getParameterValues(String name) 
 public  void handleQueryParameters() 
    Process the query string into parameters
 public String paramsAsString() 
    Debug purpose
 public  void pop() 
    Discard the last child. This happens when we return from a sub-request and the parameters are locally modified.
 public  void processParameters(MessageBytes data) 
 public  void processParameters(String str) 
    Used by RequestDispatcher
 public  void processParameters(MessageBytes data,
    String encoding) 
 public  void processParameters(byte[] bytes,
    int start,
    int len) 
 public  void processParameters(char[] chars,
    int start,
    int len) 
 public  void processParameters(byte[] bytes,
    int start,
    int len,
    String enc) 
 public  void push() 
    Create ( or reuse ) a child that will be used during a sub-request. All future changes ( setting query string, adding parameters ) will affect the child ( the parent request is never changed ). Both setters and getters will return the data from the deepest child, merged with data from parents.
 public  void recycle() 
 public  void setEncoding(String s) 
 public  void setHeaders(MimeHeaders headers) 
 public  void setQuery(MessageBytes queryMB) 
 public  void setQueryStringEncoding(String s) 
 public  void setURLDecoder(UDecoder u)