com.ibm.workflow.servlet.clientx.wext
Class PostedValues
java.lang.Object
|
+--com.ibm.workflow.servlet.clientx.wext.PostedValues
- public class PostedValues
- extends java.lang.Object
- implements java.io.Serializable
This class is a container of parameter-value pair in the HTTP-request.
All methods is the same as the ServletRequest methods.
- See Also:
- Serialized Form
Constructor Summary |
PostedValues(javax.servlet.http.HttpServletRequest request)
Constructor. |
Method Summary |
java.lang.String |
getParameter(java.lang.String name)
Returns the value of a request parameter as a String,
or null if the parameter does not exist. |
java.util.Enumeration |
getParameterNames()
Returns an Enumeration of String objects containing the names of
the parameters contained in this request. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns an array of String objects containing all of the values
the given request parameter has, or null if the parameter does not exist. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PostedValues
public PostedValues(javax.servlet.http.HttpServletRequest request)
- Constructor.
- Parameters:
request
- the request the client has made of the servlet
getParameterNames
public java.util.Enumeration getParameterNames()
- Returns an Enumeration of String objects containing the names of
the parameters contained in this request.
- Returns:
- an Enumeration object of parameter names
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
- Returns an array of String objects containing all of the values
the given request parameter has, or null if the parameter does not exist.
- Parameters:
name
- a String containing the name of the parameter
whose value is requested- Returns:
- an array of String objects containing the parameter's values
getParameter
public java.lang.String getParameter(java.lang.String name)
- Returns the value of a request parameter as a String,
or null if the parameter does not exist.
- Parameters:
name
- a String specifying the name of the parameter- Returns:
- a String representing the single value of the parameter