Uses of Class
com.amilesend.client.connection.http.OkHttpClientBuilder
Packages that use OkHttpClientBuilder
-
Uses of OkHttpClientBuilder in com.amilesend.client.connection.http
Methods in com.amilesend.client.connection.http that return OkHttpClientBuilderModifier and TypeMethodDescriptionOkHttpClientBuilder.addInterceptor
(okhttp3.Interceptor interceptor) Adds an interceptor for the client.OkHttpClientBuilder.connectTimeout
(Duration connectTimeout) Sets the connection timeout for the HTTP client.OkHttpClientBuilder.hostnameVerifier
(HostnameVerifier hostnameVerifier) Sets the hostname verifier to use with the HTTP client.OkHttpClientBuilder.isForTest
(boolean isForTest) Sets the flag to allow for non-SSL/TLS based requests used for testing.OkHttpClientBuilder.isRedirectsAllowed
(boolean isRedirectsAllowed) Sets the flag to allow for automatic URL redirects when responses return 300-based HTTP responses.Sets the proxy and associated username plus password to use with the HTTP client.Sets the proxy and associated authenticator to use with the HTTP client.OkHttpClientBuilder.readTimeout
(Duration readTimeout) Sets the read timeout for the HTTP client.OkHttpClientBuilder.trustManager
(X509TrustManager trustManager) Sets the SSL/TLS trust manager to use with the HTTP client.OkHttpClientBuilder.writeTimeout
(Duration writeTimeout) Sets the write timeout for the HTTP client.