public abstract class FilterBase extends java.lang.Object implements Filter
| Modifier and Type | Field and Description |
|---|---|
protected static StringManager |
sm |
| Constructor and Description |
|---|
FilterBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Log |
getLogger() |
void |
init(FilterConfig filterConfig)
Iterates over the configuration parameters and either logs a warning, or throws an exception for any parameter
that does not have a matching setter in this filter.
|
protected boolean |
isConfigProblemFatal()
Determines if an exception when calling a setter or an unknown configuration attribute triggers the failure of
the this filter which in turn will prevent the web application from starting.
|
protected static final StringManager sm
protected abstract Log getLogger()
public void init(FilterConfig filterConfig) throws ServletException
init in interface FilterfilterConfig - The configuration information associated with the filter instance being initialisedServletException - if isConfigProblemFatal() returns true and a configured parameter does
not have a matching setterprotected boolean isConfigProblemFatal()
true if a problem should trigger the failure of this filter, else falseCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.