Package org.apache.sling.api.request
Interface RequestParameterMap
- All Superinterfaces:
Map<String,
RequestParameter[]>
- All Known Implementing Classes:
ParameterMap
The
RequestParameterMap
encapsulates all request parameters of
a request.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable RequestParameter
Returns the first value for the named parameter or null if none@Nullable RequestParameter[]
Returns all values for the named parameter or null if noneMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
getValues
Returns all values for the named parameter or null if none- Parameters:
name
- The parameter name- Returns:
- The request parameter array or
null
.
-
getValue
Returns the first value for the named parameter or null if none- Parameters:
name
- The parameter name- Returns:
- The request parameter or
null
.
-