Uses of Interface
jakarta.servlet.Filter
-
Packages that use Filter 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.jakarta.servlet.http The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container. -
-
Uses of Filter in jakarta.servlet
Classes in jakarta.servlet that implement Filter Modifier and Type Class Description class
GenericFilter
Defines a generic, protocol-independent filter.Methods in jakarta.servlet with type parameters of type Filter Modifier and Type Method Description <T extends Filter>
TServletContext. createFilter(Class<T> clazz)
Instantiates the given Filter class.Methods in jakarta.servlet with parameters of type Filter Modifier and Type Method Description FilterRegistration.Dynamic
ServletContext. addFilter(String filterName, Filter filter)
Registers the given filter instance with this ServletContext under the given filterName.Method parameters in jakarta.servlet with type arguments of type Filter Modifier and Type Method 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. -
Uses of Filter in jakarta.servlet.http
Classes in jakarta.servlet.http that implement Filter Modifier and Type Class Description class
HttpFilter
Provides an abstract class to be subclassed to create an HTTP filter suitable for a Web site.
-