public class FilterChainFilterBuilder extends FilterChainBuilder
Constructor and Description |
---|
FilterChainFilterBuilder()
Adds a filter to the chain.
|
FilterChainFilterBuilder(Filter filter)
Adds a filter to the chain.
|
Modifier and Type | Method and Description |
---|---|
FilterChain |
build(FilterChain next,
Invocation invocation)
Builds a filter chain dynamically based on the invocation.
|
Filter |
getFilter()
Returns the filter.
|
void |
setFilter(Filter filter)
Sets the filter.
|
public FilterChainFilterBuilder()
public FilterChainFilterBuilder(Filter filter)
public Filter getFilter()
public void setFilter(Filter filter)
public FilterChain build(FilterChain next, Invocation invocation)
build
in class FilterChainBuilder
next
- the next filter in the chain.invocation
- the request's invocation.