| |
|
| java.lang.Object org.apache.cocoon.environment.wrapper.RequestParameters
RequestParameters | final public class RequestParameters implements Serializable(Code) | | This class is used by the RequestWrapper . It parses
a query string and creates a parameter representation required
for the Request object.
author: Carsten Ziegeler version: CVS $Id: RequestParameters.java 433543 2006-08-22 06:22:54Z crossley $ |
Inner Class :final static class EnumerationFromIterator implements Enumeration | |
RequestParameters | public RequestParameters(String queryString)(Code) | | Construct a new object from a queryString
|
getParameter | public String getParameter(String name)(Code) | | Get the value of a parameter.
Parameters: name - The name of the parameter. The value of the first parameter with the nameor null |
getParameter | public String getParameter(String name, String defaultValue)(Code) | | Get the value of a parameter.
Parameters: name - The name of the parameter. Parameters: defaultValue - The default value if the parameter does not exist. The value of the first parameter with the nameor defaultValue |
getParameterNames | public Enumeration getParameterNames()(Code) | | Get all parameter names.
Enumeration for the (String) parameter names. |
getParameterValues | public String[] getParameterValues(String name)(Code) | | Get all values of a parameter.
Parameters: name - The name of the parameter. Array of the (String) values or null if the parameteris not defined. |
|
|
|