Class ApacheHttpClientChannels

java.lang.Object
com.palantir.dialogue.hc5.ApacheHttpClientChannels

public final class ApacheHttpClientChannels extends Object
  • Method Details

    • create

      @Deprecated public static com.palantir.dialogue.Channel create(com.palantir.conjure.java.client.config.ClientConfiguration conf)
      Deprecated.
      Prefer dialogue-clients if possible, otherwise please provide a channel name for more accurate metrics using create(ClientConfiguration, String).
      Simple cjr-style factory method. Prefer using dialogue-clients general purpose factory where possible. This method exists to ease of migration from hc4 to hc5.
    • create

      public static com.palantir.dialogue.Channel create(com.palantir.conjure.java.client.config.ClientConfiguration conf, String channelName)
      Simple cjr-style factory method. Prefer using dialogue-clients general purpose factory where possible. This method exists to ease of migration from hc4 to hc5.
    • createSingleUri

      public static com.palantir.dialogue.Channel createSingleUri(com.palantir.dialogue.core.DialogueChannelFactory.ChannelArgs args, ApacheHttpClientChannels.CloseableClient client)
    • createSingleUri

      public static com.palantir.dialogue.Channel createSingleUri(String uri, ApacheHttpClientChannels.CloseableClient client)
    • createCloseableHttpClient

      public static ApacheHttpClientChannels.CloseableClient createCloseableHttpClient(com.palantir.conjure.java.client.config.ClientConfiguration conf, String clientName)
    • clientBuilder

      public static ApacheHttpClientChannels.ClientBuilder clientBuilder()