Package org.apache.sling.api.request
Interface RequestParameterMap
-
- All Superinterfaces:
java.util.Map<java.lang.String,RequestParameter[]>
@ProviderType public interface RequestParameterMap extends java.util.Map<java.lang.String,RequestParameter[]>
TheRequestParameterMap
encapsulates all request parameters of a request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable RequestParameter
getValue(java.lang.String name)
Returns the first value for the named parameter or null if none@Nullable RequestParameter[]
getValues(@NotNull java.lang.String name)
Returns all values for the named parameter or null if none
-
-
-
Method Detail
-
getValues
@Nullable @Nullable RequestParameter[] getValues(@NotNull @NotNull java.lang.String name)
Returns all values for the named parameter or null if none- Parameters:
name
- The parameter name- Returns:
- The request parameter array or
null
.
-
getValue
@Nullable @Nullable RequestParameter getValue(java.lang.String name)
Returns the first value for the named parameter or null if none- Parameters:
name
- The parameter name- Returns:
- The request parameter or
null
.
-
-