Class ContextHeaderDecoratorClient

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.elasticsearch.client.Client, org.elasticsearch.client.ElasticsearchClient, org.elasticsearch.common.lease.Releasable

    public class ContextHeaderDecoratorClient
    extends org.elasticsearch.client.FilterClient
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <Request extends org.elasticsearch.action.ActionRequest,​Response extends org.elasticsearch.action.ActionResponse>
      void
      doExecute​(org.elasticsearch.action.ActionType<Response> action, Request request, org.elasticsearch.action.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 Detail

      • ContextHeaderDecoratorClient

        public ContextHeaderDecoratorClient​(org.elasticsearch.client.Client in,
                                            Map<String,​String> headers)
      • ContextHeaderDecoratorClient

        public ContextHeaderDecoratorClient​(org.elasticsearch.client.Client in,
                                            String... headers)
    • Method Detail

      • doExecute

        protected <Request extends org.elasticsearch.action.ActionRequest,​Response extends org.elasticsearch.action.ActionResponse> void doExecute​(org.elasticsearch.action.ActionType<Response> action,
                                                                                                                                                         Request request,
                                                                                                                                                         org.elasticsearch.action.ActionListener<Response> listener)
        Overrides:
        doExecute in class org.elasticsearch.client.FilterClient