| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,FilterRegistration> |
WebappContext.filterRegistrations |
protected java.util.Map<java.lang.String,FilterRegistration> |
WebappContext.unmodifiableFilterRegistrations |
| Modifier and Type | Method and Description |
|---|---|
FilterRegistration |
WebappContext.addFilter(java.lang.String filterName,
java.lang.Class<? extends javax.servlet.Filter> filterClass)
Adds the filter with the given name and class type to this servlet
context.
|
FilterRegistration |
WebappContext.addFilter(java.lang.String filterName,
javax.servlet.Filter filter)
Registers the given filter instance with this WebappContext
under the given filterName.
|
FilterRegistration |
WebappContext.addFilter(java.lang.String filterName,
java.lang.String className)
Adds the filter with the given name and class name to this servlet
context.
|
FilterRegistration |
WebappContext.getFilterRegistration(java.lang.String name)
Gets the FilterRegistration corresponding to the filter with the
given filterName.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,? extends FilterRegistration> |
WebappContext.getFilterRegistrations()
Gets a (possibly empty) Map of the FilterRegistration
objects (keyed by filter name) corresponding to all filters
registered with this WebappContext.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.servlet.Filter |
WebappContext.createFilterInstance(FilterRegistration registration)
Instantiates the given Filter class.
|
Copyright © 2014 Oracle Corporation. All Rights Reserved.