public final class IngestActionFilter extends AbstractComponent implements ActionFilter
ActionFilter.Simple
deprecationLogger, logger, settings
Constructor and Description |
---|
IngestActionFilter(Settings settings,
NodeService nodeService) |
Modifier and Type | Method and Description |
---|---|
<Response extends ActionResponse> |
apply(java.lang.String action,
Response response,
ActionListener<Response> listener,
ActionFilterChain<?,Response> 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 |
<Request extends ActionRequest<Request>,Response extends ActionResponse> |
apply(Task task,
java.lang.String action,
Request request,
ActionListener<Response> listener,
ActionFilterChain<Request,Response> 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.
|
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public IngestActionFilter(Settings settings, NodeService nodeService)
public <Request extends ActionRequest<Request>,Response extends ActionResponse> void apply(Task task, java.lang.String action, Request request, ActionListener<Response> listener, ActionFilterChain<Request,Response> chain)
ActionFilter
ActionListener
or by continuing the execution through the given chain
apply
in interface ActionFilter
public <Response extends ActionResponse> void apply(java.lang.String action, Response response, ActionListener<Response> listener, ActionFilterChain<?,Response> chain)
ActionFilter
ActionListener
or by continuing the execution through the given chain
apply
in interface ActionFilter
public int order()
ActionFilter
order
in interface ActionFilter