Module org.apache.wicket.request
Class EmptyRequestParameters
java.lang.Object
org.apache.wicket.request.parameter.EmptyRequestParameters
- All Implemented Interfaces:
IRequestParameters
Read only empty
IRequestParameters
.- Author:
- Matej Knopp
-
Field Summary
-
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.
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Method Details
-
getParameterNames
Description copied from interface:IRequestParameters
Returns immutable set of all available parameter names.- Specified by:
getParameterNames
in interfaceIRequestParameters
- Returns:
- list of parameter names
- See Also:
-
getParameterValue
Description copied from interface:IRequestParameters
Returns single value for parameter with specified name. This method always returns non-null result even if the parameter does not exist.- Specified by:
getParameterValue
in interfaceIRequestParameters
- Parameters:
name
- parameter name- Returns:
StringValue
wrapping the actual value- See Also:
-
getParameterValues
Description copied from interface:IRequestParameters
Returns list of values for parameter with specified name. If the parameter does not exist this method returnsnull
- Specified by:
getParameterValues
in interfaceIRequestParameters
- Parameters:
name
- parameter name- Returns:
- list of all values for given parameter or
null
if parameter does not exist - See Also:
-