Name

FilterConfig

Synopsis

The FilterConfig interface is analogous to the ServletConfig interface. It provides the init() method of a Filter with information about the filter’s configuration within a web application, as well as a reference to the current ServletContext object.

public interface FilterConfig {
// Public Instance Methods
   public abstract String getFilterName();  
   public abstract String getInitParameter( String name);  
   public abstract java.util.Enumeration getInitParameterNames(
        );  
   public abstract ServletContext getServletContext();  
}

Passed To

javax.servlet.Filter.init()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.