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 theActionListeneror by continuing the execution through the givenchainintorder()The position of the filter in the chain.
-
Constructor Details
-
MappedActionFilters
-
-
Method Details
-
order
public int order()Description copied from interface:ActionFilterThe position of the filter in the chain. Execution is done from lowest order to highest.- Specified by:
orderin 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:ActionFilterEnables filtering the execution of an action on the request side, either by sending a response through theActionListeneror by continuing the execution through the givenchain- Specified by:
applyin interfaceActionFilter
-