Module org.apache.wicket.request
Class CombinedRequestParametersAdapter
java.lang.Object
org.apache.wicket.request.parameter.CombinedRequestParametersAdapter
- All Implemented Interfaces:
IRequestParameters
IRequestParameters implementation that combines other IRequestParameterss.- Author:
- Matej Knopp
-
Constructor Summary
ConstructorsConstructorDescriptionCombinedRequestParametersAdapter(IRequestParameters... parameters) Construct. -
Method Summary
Modifier and TypeMethodDescriptionReturns immutable set of all available parameter names.getParameterValue(String name) Returns single value for parameter with specified name.getParameterValues(String name) Returns list of values for parameter with specified name.
-
Constructor Details
-
CombinedRequestParametersAdapter
Construct.- Parameters:
parameters-
-
-
Method Details
-
getParameterNames
Description copied from interface:IRequestParametersReturns immutable set of all available parameter names.- Specified by:
getParameterNamesin interfaceIRequestParameters- Returns:
- list of parameter names
- See Also:
-
getParameterValue
Description copied from interface:IRequestParametersReturns single value for parameter with specified name. This method always returns non-null result even if the parameter does not exist.- Specified by:
getParameterValuein interfaceIRequestParameters- Parameters:
name- parameter name- Returns:
StringValuewrapping the actual value- See Also:
-
getParameterValues
Description copied from interface:IRequestParametersReturns list of values for parameter with specified name. If the parameter does not exist this method returnsnull- Specified by:
getParameterValuesin interfaceIRequestParameters- Parameters:
name- parameter name- Returns:
- list of all values for given parameter or
nullif parameter does not exist - See Also:
-