FilterChain

A filter chain is a singly-linked list that represents a series of filters to be applied when processing a request.

Constructors

this
this(HttpRequestFilter filter, FilterChain next)
Undocumented in source.

Members

Functions

doFilter
void doFilter(ServerHttpRequest request, ServerHttpResponse response)

Applies this filter chain link's filter to the given request and response, and then if there's another link in the chain, calls it to apply its filter thereafter, and so on until the chain is complete or a filter has short-circuited without calling filterChain.doFilter.

Static functions

build
FilterChain build(HttpRequestFilter[] filters)

Builds a filter chain from a list of request filters.