Uses of Interface
jakarta.servlet.Filter
Package
Description
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.
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
Modifier and TypeClassDescriptionclass
Defines a generic, protocol-independent filter.Modifier and TypeMethodDescription<T extends Filter>
TServletContext.createFilter
(Class<T> clazz) Instantiates the given Filter class.Modifier and TypeMethodDescriptionRegisters the given filter instance with this ServletContext under the given filterName.Modifier and TypeMethodDescriptionAdds the filter with the given name and class type to this servlet context. -
Uses of Filter in jakarta.servlet.http
Modifier and TypeClassDescriptionclass
Provides an abstract class to be subclassed to create an HTTP filter suitable for a Web site.