| Package | Description |
|---|---|
| jakarta.servlet | |
| jakarta.servlet.http |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericFilter
Provides a base class that implements the Filter and FilterConfig interfaces
to reduce boilerplate when writing new filters.
|
| Modifier and Type | Method and Description |
|---|---|
FilterConfig |
GenericFilter.getFilterConfig()
Obtain the FilterConfig used to initialise this Filter instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericFilter.init(FilterConfig filterConfig) |
default void |
Filter.init(FilterConfig filterConfig)
Called by the web container to indicate to a filter that it is being
placed into service.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpFilter
Provides a base class that implements the Filter interface and ensures
that the Request and Response are of type HttpServletRequest and
HttpServletResponse respectively.
|
Copyright © 2014–2021. All rights reserved.