Package org.apache.wicket.request
Interface IRequestParameters
-
- All Known Subinterfaces:
IWritableRequestParameters
- All Known Implementing Classes:
CombinedRequestParametersAdapter,EmptyRequestParameters,UrlRequestParametersAdapter
public interface IRequestParameters
Represents request parameters.- Author:
- Matej Knopp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>getParameterNames()Returns immutable set of all available parameter names.org.apache.wicket.util.string.StringValuegetParameterValue(String name)Returns single value for parameter with specified name.List<org.apache.wicket.util.string.StringValue>getParameterValues(String name)Returns list of values for parameter with specified name.
-
-
-
Method Detail
-
getParameterNames
Set<String> getParameterNames()
Returns immutable set of all available parameter names.- Returns:
- list of parameter names
-
getParameterValue
org.apache.wicket.util.string.StringValue getParameterValue(String name)
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:
StringValuewrapping the actual value- See Also:
StringValue.isNull()
-
getParameterValues
List<org.apache.wicket.util.string.StringValue> getParameterValues(String name)
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
nullif parameter does not exist
-
-