Class ApacheHttpClientChannels
java.lang.Object
com.palantir.dialogue.hc5.ApacheHttpClientChannels
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic com.palantir.dialogue.Channelcreate(com.palantir.conjure.java.client.config.ClientConfiguration conf) Deprecated.static com.palantir.dialogue.ChannelSimple cjr-style factory method.createCloseableHttpClient(com.palantir.conjure.java.client.config.ClientConfiguration conf, String clientName) static com.palantir.dialogue.ChannelcreateSingleUri(com.palantir.dialogue.core.DialogueChannelFactory.ChannelArgs args, ApacheHttpClientChannels.CloseableClient client) static com.palantir.dialogue.Channel
-
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 usingcreate(ClientConfiguration, String).Simple cjr-style factory method. Prefer usingdialogue-clientsgeneral 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 usingdialogue-clientsgeneral 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
-
create(ClientConfiguration, String).