public interface ConfigurationStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(ConfigurationKey<Boolean> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
<T> Class<? extends T> |
getClass(ConfigurationKey<Class<? extends T>> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
int |
getInt(ConfigurationKey<Integer> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
long |
getLong(ConfigurationKey<Long> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
String |
getString(ConfigurationKey<String> configurationKey)
Retrieves the value for the provided , falling back to the 's
ConfigurationKey.getDefaultValue() if nothing can be found. |
void |
init(javax.servlet.FilterConfig filterConfig,
Class<? extends javax.servlet.Filter> filterClazz)
Initializes the strategy.
|
boolean getBoolean(ConfigurationKey<Boolean> configurationKey)
ConfigurationKey.getDefaultValue()
if nothing can be found.configurationKey
- the configuration key. MUST NOT BE NULL.String getString(ConfigurationKey<String> configurationKey)
ConfigurationKey.getDefaultValue()
if nothing can be found.configurationKey
- the configuration key. MUST NOT BE NULL.long getLong(ConfigurationKey<Long> configurationKey)
ConfigurationKey.getDefaultValue()
if nothing can be found.configurationKey
- the configuration key. MUST NOT BE NULL.int getInt(ConfigurationKey<Integer> configurationKey)
ConfigurationKey.getDefaultValue()
if nothing can be found.configurationKey
- the configuration key. MUST NOT BE NULL.<T> Class<? extends T> getClass(ConfigurationKey<Class<? extends T>> configurationKey)
ConfigurationKey.getDefaultValue()
if nothing can be found.configurationKey
- the configuration key. MUST NOT BE NULL.void init(javax.servlet.FilterConfig filterConfig, Class<? extends javax.servlet.Filter> filterClazz)
filterConfig
- the filter configuration object.filterClazz
- the filterCopyright © 2006–2019 Jasig. All rights reserved.