Package com.linkedin.venice.httpclient5
Class HttpClient5Utils.HttpClient5Builder
java.lang.Object
com.linkedin.venice.httpclient5.HttpClient5Utils.HttpClient5Builder
- Enclosing class:
- HttpClient5Utils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient
build()
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient
setHttp1
(boolean http1) setHttp1MaxConnectionsPerRoute
(int http1MaxConnectionsPerRoute) setHttp1MaxConnectionsTotal
(int http1MaxConnectionsTotal) setIoThreadCount
(int ioThreadCount) setRequestTimeOutInMilliseconds
(long requestTimeOutInMilliseconds) setSkipCipherCheck
(boolean skipCipherCheck) setSslContext
(SSLContext sslContext)
-
Constructor Details
-
HttpClient5Builder
public HttpClient5Builder()
-
-
Method Details
-
setSslContext
-
setRequestTimeOutInMilliseconds
public HttpClient5Utils.HttpClient5Builder setRequestTimeOutInMilliseconds(long requestTimeOutInMilliseconds) -
setIoThreadCount
-
setSkipCipherCheck
-
setHttp1
-
setHttp1MaxConnectionsTotal
public HttpClient5Utils.HttpClient5Builder setHttp1MaxConnectionsTotal(int http1MaxConnectionsTotal) -
setHttp1MaxConnectionsPerRoute
public HttpClient5Utils.HttpClient5Builder setHttp1MaxConnectionsPerRoute(int http1MaxConnectionsPerRoute) -
build
public org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient build() -
buildAndStart
public org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient buildAndStart()
-