|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurationStrategy
Abstraction to allow for pluggable methods for retrieving filter configuration.
| Method Summary | ||
|---|---|---|
boolean |
getBoolean(ConfigurationKey<Boolean> configurationKey)
Retrieves the value for the provided , falling back to the 's ConfigurationKey.getDefaultValue() if nothing can be found. |
|
|
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. |
|
| Method Detail |
|---|
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 filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||