Creates a mock external context with the specified parameters in the
request parameter map. All other properties of the external context
can be set using the appropriate setter.
Parameters: requestParameterMap - the request parameters
public void putRequestParameter(String parameterName, String parameterValue)(Code)
Puts a request parameter into the mock parameter map.
Parameters: parameterName - the parameter name Parameters: parameterValue - the parameter value
putRequestParameter
public void putRequestParameter(String parameterName, String[] parameterValues)(Code)
Puts a multi-valued request parameter into the mock parameter map.
Parameters: parameterName - the parameter name Parameters: parameterValues - the parameter values
Set the global session attribute map. By default the session attribute
map and the global session attribute map are one and the same.
See Also:ExternalContext.getGlobalSessionMap