public interface IRequestParamMap extends com.helger.commons.lang.IHasSize, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String... aPath) |
boolean |
containsKey(String sKey)
Check if this map, contains the passed key.
|
com.helger.commons.collection.impl.ICommonsOrderedMap<String,RequestParamMapItem> |
getAsObjectMap() |
com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> |
getAsValueMap() |
com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> |
getAsValueTrimmedMap() |
default BigDecimal |
getBigDecimal(String... aPath) |
default BigInteger |
getBigInteger(String... aPath) |
default boolean |
getBoolean(String sPath,
boolean bDefault) |
default double |
getDouble(String sPath,
double dDefault) |
default int |
getInt(String sPath,
int nDefault) |
default long |
getLong(String sPath,
long nDefault) |
IRequestParamMap |
getMap(String... aPath)
Get a nested map for the specified path.
|
RequestParamMapItem |
getObject(String... aPath) |
default String |
getString(String... aPath) |
default String |
getStringTrimmed(String... aPath) |
com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> |
getValueMap(String... aPath) |
com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> |
getValueTrimmedMap(String... aPath) |
default boolean |
isCheckBoxChecked(String sFieldName,
boolean bDefaultValue)
Get the value of the checkbox of the request parameter with the given name.
|
com.helger.commons.collection.impl.ICommonsOrderedSet<String> |
keySet() |
com.helger.commons.collection.impl.ICommonsList<RequestParamMapItem> |
values() |
@Nullable RequestParamMapItem getObject(@Nonnull @Nonempty String... aPath)
@Nullable default BigInteger getBigInteger(@Nonnull @Nonempty String... aPath)
@Nullable default BigDecimal getBigDecimal(@Nonnull @Nonempty String... aPath)
default boolean isCheckBoxChecked(@Nullable String sFieldName, boolean bDefaultValue)
sFieldName - Request parameter name. May be null.bDefaultValue - the default value to be returned, if no request attribute is presenttrue if the checkbox is checked, false if
it is not checked and the default value otherwise.@Nullable com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> getValueMap(@Nonnull @Nonempty String... aPath)
@Nullable com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> getValueTrimmedMap(@Nonnull @Nonempty String... aPath)
@Nullable IRequestParamMap getMap(@Nonnull @Nonempty String... aPath)
aPath - The path to be resolvednull if the path could not be resolved.boolean containsKey(@Nullable String sKey)
sKey - The key to check.true if such a key is contained, false if
not@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsOrderedSet<String> keySet()
null but maybe empty.@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsList<RequestParamMapItem> values()
@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsOrderedMap<String,RequestParamMapItem> getAsObjectMap()
values()@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsOrderedMap<String,String> getAsValueMap()
Copyright © 2016–2019 Philip Helger. All rights reserved.