AuthenticationFilter
, AuthorizationFilter
, AuthorizationPreFilter
, GenericFilter
, HttpFilter
public interface Filter
Modifier and Type | Method | Description |
---|---|---|
default void |
destroy() |
Destroy the filter.
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain) |
Process the request.
|
default void |
init(FilterConfig filterConfig) |
Initialize the filter.
|
default void destroy()
void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
request
- the request.response
- the response.chain
- the chain.IOException
- when an I/O error occurs.ServletException
- when a servlet error occurs.default void init(FilterConfig filterConfig) throws ServletException
filterConfig
- the filter configuration.ServletException
- when a servlet error occurs.Copyright © 2020 Piranha Cloud. All rights reserved.