public abstract class FilterBase extends Object implements Filter
| Modifier and Type | Field and Description | 
|---|---|
| protected static StringManager | sm | 
| Constructor and Description | 
|---|
| FilterBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Called by the web container to indicate to a filter that it is being
 taken out of service. | 
| 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 setterpublic void destroy()
Filterprotected boolean isConfigProblemFatal()
true if a problem should trigger the failure of this
         filter, else falseCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.