Package ninja
Interface Filter
-
- All Known Implementing Classes:
AuthenticityFilter,BasicAuthFilter,SecureFilter
public interface FilterA simple filter that can be applied to controller methods or while classes. usually you use@FilterWith(MyFilter.class)where MyFilter.class is implementing this interface.@FilterWithworks also with multiple filter@FilterWith({MyFirstFilter.class, MySecondFilter.class})- Author:
- ra
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resultfilter(FilterChain filterChain, Context context)Filter the request.
-
-
-
Method Detail
-
filter
Result filter(FilterChain filterChain, Context context)
Filter the request. Filters should invoke the filterChain.nextFilter() method if they wish the request to proceed.- Parameters:
filterChain- The filter chaincontext- The context
-
-