Example usage for Java javax.servlet FilterRegistration fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addMappingForServletNames(EnumSet Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration. |
void | addMappingForUrlPatterns(EnumSet Adds a filter mapping with the given url patterns and dispatcher types for the Filter represented by this FilterRegistration. |
boolean | setInitParameter(String name, String value) Sets the initialization parameter with the given name and value on the Servlet or Filter that is represented by this Registration. |