|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface provided to an EchoInstance such that it may access the
parameters that were initially passed to the application container.
An instance of an implementation of this interface is set as
an attribute with ATTRIBUTE_NAME
Field Summary | |
static java.lang.String |
ATTRIBUTE_NAME
|
Method Summary | |
java.lang.String[] |
getAllParameterNames()
Returns an array of all the initial request parameters names. |
java.lang.String |
getParameter(java.lang.String name)
Returns the value of an initial request parameter as a String, or null if the parameter does not exist. |
java.util.Map |
getParameterMap()
Returns a java.util.Map of the parameters of the initial request. |
java.util.Iterator |
getParameterNames()
Returns an Iterator of String objects containing the names of the parameters contained in the initial request. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns an array of String objects containing all of the values the given initial request parameter has, or null if the parameter does not exist. |
Field Detail |
public static final java.lang.String ATTRIBUTE_NAME
Method Detail |
public java.lang.String getParameter(java.lang.String name)
You should only use this method when you are sure the parameter has only one value. If the parameter might have more than one value, use getParameterValues(java.lang.String).
If you use this method with a multivalued parameter, the value returned is equal to the first value in the array returned by getParameterValues.
name
- - a String specifying the name of the parameter
public java.util.Map getParameterMap()
public java.util.Iterator getParameterNames()
public java.lang.String[] getAllParameterNames()
public java.lang.String[] getParameterValues(java.lang.String name)
If the parameter has a single value, the array has a length of 1.
name
- - a String containing the name of the parameter
whose value is requested
|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |