Package com.palantir.dialogue.hc4
Class ApacheHttpClientChannels
- java.lang.Object
-
- com.palantir.dialogue.hc4.ApacheHttpClientChannels
-
public final class ApacheHttpClientChannels extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApacheHttpClientChannels.ClientBuilderstatic classApacheHttpClientChannels.CloseableClientIntentionally opaque wrapper type - we don't want people using the inner Apache client directly.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ApacheHttpClientChannels.ClientBuilderclientBuilder()static com.palantir.dialogue.Channelcreate(com.palantir.conjure.java.client.config.ClientConfiguration conf)static ApacheHttpClientChannels.CloseableClientcreateCloseableHttpClient(com.palantir.conjure.java.client.config.ClientConfiguration conf)Deprecated.Use the builderstatic ApacheHttpClientChannels.CloseableClientcreateCloseableHttpClient(com.palantir.conjure.java.client.config.ClientConfiguration conf, java.lang.String clientName)static com.palantir.dialogue.ChannelcreateSingleUri(java.lang.String uri, ApacheHttpClientChannels.CloseableClient client)
-
-
-
Method Detail
-
create
public static com.palantir.dialogue.Channel create(com.palantir.conjure.java.client.config.ClientConfiguration conf)
-
createSingleUri
public static com.palantir.dialogue.Channel createSingleUri(java.lang.String uri, ApacheHttpClientChannels.CloseableClient client)
-
createCloseableHttpClient
@Deprecated public static ApacheHttpClientChannels.CloseableClient createCloseableHttpClient(com.palantir.conjure.java.client.config.ClientConfiguration conf)
Deprecated.Use the builderPreferclientBuilder().
-
createCloseableHttpClient
public static ApacheHttpClientChannels.CloseableClient createCloseableHttpClient(com.palantir.conjure.java.client.config.ClientConfiguration conf, java.lang.String clientName)
-
clientBuilder
public static ApacheHttpClientChannels.ClientBuilder clientBuilder()
-
-