Package org.apache.wicket.request
Interface IRequestParameters
- All Known Subinterfaces:
IWritableRequestParameters
- All Known Implementing Classes:
CombinedRequestParametersAdapter
,EmptyRequestParameters
,MockRequestParameters
,UrlRequestParametersAdapter
public interface IRequestParameters
Represents request parameters.
- Author:
- Matej Knopp
-
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.
-
Method Details
-
getParameterNames
Returns immutable set of all available parameter names.- Returns:
- list of parameter names
-
getParameterValue
Returns single value for parameter with specified name. This method always returns non-null result even if the parameter does not exist.- Parameters:
name
- parameter name- Returns:
StringValue
wrapping the actual value- See Also:
-
getParameterValues
Returns list of values for parameter with specified name. If the parameter does not exist this method returnsnull
- Parameters:
name
- parameter name- Returns:
- list of all values for given parameter or
null
if parameter does not exist
-