Package org.elasticsearch.client
Class OriginSettingClient
java.lang.Object
org.elasticsearch.client.support.AbstractClient
org.elasticsearch.client.FilterClient
org.elasticsearch.client.OriginSettingClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Client
,ElasticsearchClient
,org.elasticsearch.core.Releasable
A Client that sends requests with the
origin
set to a particular
value and calls its ActionListener in its original
ThreadContext
.-
Field Summary
Fields inherited from class org.elasticsearch.client.FilterClient
in
Fields inherited from class org.elasticsearch.client.support.AbstractClient
logger, settings
Fields inherited from interface org.elasticsearch.client.Client
CLIENT_TYPE_SETTING_S
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <Request extends ActionRequest, Response extends ActionResponse>
voiddoExecute(ActionType<Response> action, Request request, ActionListener<Response> listener)
Methods inherited from class org.elasticsearch.client.FilterClient
close, getRemoteClusterClient, in
Methods inherited from class org.elasticsearch.client.support.AbstractClient
admin, bulk, bulk, clearScroll, clearScroll, delete, delete, execute, execute, explain, explain, fieldCaps, fieldCaps, filterWithHeader, get, get, index, index, multiGet, multiGet, multiSearch, multiSearch, multiTermVectors, multiTermVectors, prepareBulk, prepareBulk, prepareClearScroll, prepareDelete, prepareDelete, prepareExplain, prepareFieldCaps, prepareGet, prepareGet, prepareIndex, prepareIndex, prepareIndex, prepareMultiGet, prepareMultiSearch, prepareMultiTermVectors, prepareSearch, prepareSearchScroll, prepareTermVectors, prepareTermVectors, prepareUpdate, prepareUpdate, search, search, searchScroll, searchScroll, settings, termVectors, termVectors, threadPool, update, update
-
Constructor Details
-
OriginSettingClient
-
-
Method Details
-
doExecute
protected <Request extends ActionRequest, Response extends ActionResponse> void doExecute(ActionType<Response> action, Request request, ActionListener<Response> listener)- Overrides:
doExecute
in classFilterClient
-