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.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericFilter
Defines a generic, protocol-independent filter.
|
Modifier and Type | Method and Description |
---|---|
FilterConfig |
GenericFilter.getFilterConfig()
Returns this servlet's
ServletConfig object. |
Modifier and Type | Method and Description |
---|---|
void |
GenericFilter.init(FilterConfig config)
Called by the servlet container to indicate to a filter that it is being placed into service.
|
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 an abstract class to be subclassed to create an HTTP filter suitable for a Web site.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.