Class HttpsTransportClient
java.lang.Object
com.linkedin.venice.client.store.transport.TransportClient
com.linkedin.venice.client.store.transport.HttpTransportClient
com.linkedin.venice.client.store.transport.HttpsTransportClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class com.linkedin.venice.client.store.transport.HttpTransportClient
maxConnectionsPerRoute, maxConnectionsTotal, routerUrl
Fields inherited from class com.linkedin.venice.client.store.transport.TransportClient
HTTPS
-
Constructor Summary
ConstructorDescriptionHttpsTransportClient
(String routerUrl, int maxConnectionsTotal, int maxConnectionsPerRoute, boolean requireHTTP2, SSLFactory sslFactory) HttpsTransportClient
(String routerUrl, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client) -
Method Summary
Modifier and TypeMethodDescriptionThe sameCloseableHttpAsyncClient
could not be used to send out another request in its own callback function.boolean
Methods inherited from class com.linkedin.venice.client.store.transport.HttpTransportClient
buildClient, close, get, getMaxConnectionsPerRoute, getMaxConnectionsTotal, post, streamPost, toString
Methods inherited from class com.linkedin.venice.client.store.transport.TransportClient
get, post
-
Constructor Details
-
HttpsTransportClient
public HttpsTransportClient(String routerUrl, int maxConnectionsTotal, int maxConnectionsPerRoute, boolean requireHTTP2, SSLFactory sslFactory) -
HttpsTransportClient
public HttpsTransportClient(String routerUrl, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client)
-
-
Method Details
-
isRequireHTTP2
public boolean isRequireHTTP2() -
getCopyIfNotUsableInCallback
The sameCloseableHttpAsyncClient
could not be used to send out another request in its own callback function.- Overrides:
getCopyIfNotUsableInCallback
in classHttpTransportClient
- Returns:
-