Package | Description |
---|---|
jakarta.servlet |
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
|
Modifier and Type | Method and Description |
---|---|
FilterRegistration.Dynamic |
ServletContext.addFilter(String filterName,
Class<? extends Filter> filterClass)
Adds the filter with the given name and class type to this servlet context.
|
FilterRegistration.Dynamic |
ServletContext.addFilter(String filterName,
Filter filter)
Registers the given filter instance with this ServletContext under the given filterName.
|
FilterRegistration.Dynamic |
ServletContext.addFilter(String filterName,
String className)
Adds the filter with the given name and class name to this servlet context.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.