java.lang.Object
org.elasticsearch.action.support.MappedActionFilters
- All Implemented Interfaces:
ActionFilter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.support.ActionFilter
ActionFilter.Simple
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<Request extends ActionRequest,
Response extends ActionResponse>
voidapply
(Task task, String action, Request request, ActionListener<Response> listener, ActionFilterChain<Request, Response> outerChain) Enables filtering the execution of an action on the request side, either by sending a response through theActionListener
or by continuing the execution through the givenchain
int
order()
The position of the filter in the chain.
-
Constructor Details
-
MappedActionFilters
-
-
Method Details
-
order
public int order()Description copied from interface:ActionFilter
The position of the filter in the chain. Execution is done from lowest order to highest.- Specified by:
order
in interfaceActionFilter
-
apply
public <Request extends ActionRequest,Response extends ActionResponse> void apply(Task task, String action, Request request, ActionListener<Response> listener, ActionFilterChain<Request, Response> outerChain) Description copied from interface:ActionFilter
Enables filtering the execution of an action on the request side, either by sending a response through theActionListener
or by continuing the execution through the givenchain
- Specified by:
apply
in interfaceActionFilter
-