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 Authenticationprotected static final intprotected static final intprotected final org.asynchttpclient.AsyncHttpClientprotected final ServiceNameResolver -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpClient(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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
get
-