Package org.apache.pulsar.client.impl
Class HttpClient
java.lang.Object
org.apache.pulsar.client.impl.HttpClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Authentication
protected static final int
protected static final int
protected final org.asynchttpclient.AsyncHttpClient
protected final ServiceNameResolver
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
HttpClient
(ClientConfigurationData conf, io.netty.channel.EventLoopGroup eventLoopGroup) -
Method Summary
-
Field Details
-
DEFAULT_CONNECT_TIMEOUT_IN_SECONDS
protected static final int DEFAULT_CONNECT_TIMEOUT_IN_SECONDS- See Also:
-
DEFAULT_READ_TIMEOUT_IN_SECONDS
protected static final int DEFAULT_READ_TIMEOUT_IN_SECONDS- See Also:
-
httpClient
protected final org.asynchttpclient.AsyncHttpClient httpClient -
serviceNameResolver
-
authentication
-
-
Constructor Details
-
HttpClient
protected HttpClient(ClientConfigurationData conf, io.netty.channel.EventLoopGroup eventLoopGroup) throws PulsarClientException - Throws:
PulsarClientException
-
-
Method Details
-
resolveHost
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
get
-