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:
java.io.Closeable
,java.lang.AutoCloseable
public class HttpsTransportClient extends HttpTransportClient
-
-
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
Constructors Constructor Description HttpsTransportClient(java.lang.String routerUrl, int maxConnectionsTotal, int maxConnectionsPerRoute, boolean requireHTTP2, SSLFactory sslFactory)
HttpsTransportClient(java.lang.String routerUrl, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportClient
getCopyIfNotUsableInCallback()
The sameCloseableHttpAsyncClient
could not be used to send out another request in its own callback function.boolean
isRequireHTTP2()
-
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 Detail
-
HttpsTransportClient
public HttpsTransportClient(java.lang.String routerUrl, int maxConnectionsTotal, int maxConnectionsPerRoute, boolean requireHTTP2, SSLFactory sslFactory)
-
HttpsTransportClient
public HttpsTransportClient(java.lang.String routerUrl, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient client)
-
-
Method Detail
-
isRequireHTTP2
public boolean isRequireHTTP2()
-
getCopyIfNotUsableInCallback
public TransportClient getCopyIfNotUsableInCallback()
The sameCloseableHttpAsyncClient
could not be used to send out another request in its own callback function.- Overrides:
getCopyIfNotUsableInCallback
in classHttpTransportClient
- Returns:
-
-