Package com.linkedin.venice.httpclient5
Class HttpClient5Utils.HttpClient5Builder
- java.lang.Object
-
- com.linkedin.venice.httpclient5.HttpClient5Utils.HttpClient5Builder
-
- Enclosing class:
- HttpClient5Utils
public static class HttpClient5Utils.HttpClient5Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HttpClient5Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient
build()
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient
buildAndStart()
HttpClient5Utils.HttpClient5Builder
setHttp1(boolean http1)
HttpClient5Utils.HttpClient5Builder
setHttp1MaxConnectionsPerRoute(int http1MaxConnectionsPerRoute)
HttpClient5Utils.HttpClient5Builder
setHttp1MaxConnectionsTotal(int http1MaxConnectionsTotal)
HttpClient5Utils.HttpClient5Builder
setIoThreadCount(int ioThreadCount)
HttpClient5Utils.HttpClient5Builder
setRequestTimeOutInMilliseconds(long requestTimeOutInMilliseconds)
HttpClient5Utils.HttpClient5Builder
setSkipCipherCheck(boolean skipCipherCheck)
HttpClient5Utils.HttpClient5Builder
setSslContext(javax.net.ssl.SSLContext sslContext)
-
-
-
Method Detail
-
setSslContext
public HttpClient5Utils.HttpClient5Builder setSslContext(javax.net.ssl.SSLContext sslContext)
-
setRequestTimeOutInMilliseconds
public HttpClient5Utils.HttpClient5Builder setRequestTimeOutInMilliseconds(long requestTimeOutInMilliseconds)
-
setIoThreadCount
public HttpClient5Utils.HttpClient5Builder setIoThreadCount(int ioThreadCount)
-
setSkipCipherCheck
public HttpClient5Utils.HttpClient5Builder setSkipCipherCheck(boolean skipCipherCheck)
-
setHttp1
public HttpClient5Utils.HttpClient5Builder setHttp1(boolean http1)
-
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()
-
-