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
Fields -
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: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:
-