Class RestClient.ConfigCallback

java.lang.Object
org.apache.pulsar.io.elasticsearch.client.RestClient.ConfigCallback
All Implemented Interfaces:
org.elasticsearch.client.RestClientBuilder.HttpClientConfigCallback, org.opensearch.client.RestClientBuilder.HttpClientConfigCallback
Enclosing class:
RestClient

public class RestClient.ConfigCallback extends Object implements org.elasticsearch.client.RestClientBuilder.HttpClientConfigCallback, org.opensearch.client.RestClientBuilder.HttpClientConfigCallback
  • Constructor Details

    • ConfigCallback

      public ConfigCallback()
  • Method Details

    • customizeHttpClient

      public org.apache.http.impl.nio.client.HttpAsyncClientBuilder customizeHttpClient(org.apache.http.impl.nio.client.HttpAsyncClientBuilder builder)
      Specified by:
      customizeHttpClient in interface org.elasticsearch.client.RestClientBuilder.HttpClientConfigCallback
      Specified by:
      customizeHttpClient in interface org.opensearch.client.RestClientBuilder.HttpClientConfigCallback
    • buildConnectionManager

      public org.apache.http.nio.conn.NHttpClientConnectionManager buildConnectionManager(ElasticSearchConfig config)