Modifier and Type | Method and Description |
---|---|
static Handler |
chainOf(Handler handler,
Filter... filters)
Creates a
Handler which wraps the provided filters
around the provided target handler. |
static Handler |
chainOf(Handler handler,
List<Filter> filters)
Creates a
Handler which wraps the provided filters
around the provided target handler. |
public static Handler chainOf(Handler handler, Filter... filters)
Handler
which wraps the provided filters
around the provided target handler.handler
- The target handler which will be invoked once
processing has reached the end of the filter chain.filters
- The list of filters to be processed before invoking the
target.Handler
.chainOf(Handler, List)
public static Handler chainOf(Handler handler, List<Filter> filters)
Handler
which wraps the provided filters
around the provided target handler.handler
- The target handler which will be invoked once
processing has reached the end of the filter chain.filters
- The list of filters to be processed before invoking the
target.Handler
.chainOf(Handler, Filter...)
Copyright 2011-2015 ForgeRock AS.