public interface ActionFilter
| Modifier and Type | Interface and Description |
|---|---|
static class |
ActionFilter.Simple
A simple base class for injectable action filters that spares the implementation from handling the
filter chain.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(String action,
ActionResponse response,
ActionListener listener,
ActionFilterChain chain)
Enables filtering the execution of an action on the response side, either by sending a response through the
ActionListener or by continuing the execution through the given chain |
void |
apply(Task task,
String action,
ActionRequest request,
ActionListener listener,
ActionFilterChain chain)
Enables filtering the execution of an action on the request side, either by sending a response through the
ActionListener or by continuing the execution through the given chain |
int |
order()
The position of the filter in the chain.
|
int order()
void apply(Task task, String action, ActionRequest request, ActionListener listener, ActionFilterChain chain)
ActionListener or by continuing the execution through the given chainvoid apply(String action, ActionResponse response, ActionListener listener, ActionFilterChain chain)
ActionListener or by continuing the execution through the given chainCopyright © 2009–2017. All rights reserved.