public interface Filter
@FilterWith(MyFilter.class) where MyFilter.class
is implementing this interface.
@FilterWith works also with multiple filter
@FilterWith({MyFirstFilter.class, MySecondFilter.class})| Modifier and Type | Method and Description |
|---|---|
Result |
filter(FilterChain filterChain,
Context context)
Filter the request.
|
Result filter(FilterChain filterChain, Context context)
filterChain - The filter chaincontext - The contextCopyright © 2019 ninjaframework. All rights reserved.