Package | Description |
---|---|
org.glassfish.grizzly.servlet |
Modifier and Type | Field and Description |
---|---|
protected Map<String,FilterRegistration> |
WebappContext.filterRegistrations |
protected Map<String,FilterRegistration> |
WebappContext.unmodifiableFilterRegistrations |
Modifier and Type | Method and Description |
---|---|
FilterRegistration |
WebappContext.addFilter(String filterName,
Class<? extends javax.servlet.Filter> filterClass)
Adds the filter with the given name and class type to this servlet
context.
|
FilterRegistration |
WebappContext.addFilter(String filterName,
javax.servlet.Filter filter)
Registers the given filter instance with this WebappContext
under the given filterName.
|
FilterRegistration |
WebappContext.addFilter(String filterName,
String className)
Adds the filter with the given name and class name to this servlet
context.
|
FilterRegistration |
WebappContext.getFilterRegistration(String name)
Gets the FilterRegistration corresponding to the filter with the
given filterName.
|
Modifier and Type | Method and Description |
---|---|
Map<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 © 2015 Oracle Corporation. All rights reserved.