|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.environment.wrapper.RequestParameters
public final class RequestParameters
This class is used by the RequestWrapper
. It parses
a query string and creates a parameter representation required
for the Request
object.
Constructor Summary | |
---|---|
RequestParameters(String queryString)
Construct a new object from a queryString |
Method Summary | |
---|---|
String |
getParameter(String name)
Get the value of a parameter. |
String |
getParameter(String name,
String defaultValue)
Get the value of a parameter. |
Enumeration |
getParameterNames()
Get all parameter names. |
String[] |
getParameterValues(String name)
Get all values of a parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestParameters(String queryString)
Method Detail |
---|
public String getParameter(String name)
name
- The name of the parameter.
null
public String getParameter(String name, String defaultValue)
name
- The name of the parameter.defaultValue
- The default value if the parameter does not exist.
defaultValue
public String[] getParameterValues(String name)
name
- The name of the parameter.
public Enumeration getParameterNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |