Uses of Class
io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Uses of OkHttpHttpClientBuilder in io.clientcore.http.okhttp3
Methods in io.clientcore.http.okhttp3 that return OkHttpHttpClientBuilderModifier and TypeMethodDescriptionOkHttpHttpClientBuilder.addNetworkInterceptor(okhttp3.Interceptor networkInterceptor) Add a network layer interceptor to Http request pipeline.OkHttpHttpClientBuilder.callTimeout(Duration callTimeout) Sets the default timeout for complete calls.OkHttpHttpClientBuilder.configuration(Configuration configuration) Sets the configuration store that is used during construction of the HTTP client.OkHttpHttpClientBuilder.connectionPool(okhttp3.ConnectionPool connectionPool) Sets the Http connection pool.OkHttpHttpClientBuilder.connectionTimeout(Duration connectionTimeout) Sets the connection timeout for a request to be sent.OkHttpHttpClientBuilder.dispatcher(okhttp3.Dispatcher dispatcher) Sets the dispatcher that also composes the thread pool for executing HTTP requests.OkHttpHttpClientBuilder.followRedirects(boolean followRedirects) Sets the followRedirect flag on the underlying OkHttp-backedHttpClient.OkHttpHttpClientBuilder.hostnameVerifier(HostnameVerifier hostnameVerifier) Sets theHostnameVerifierto use for HTTPS connections.OkHttpHttpClientBuilder.networkInterceptors(List<okhttp3.Interceptor> networkInterceptors) Add network layer interceptors to Http request pipeline.OkHttpHttpClientBuilder.proxy(ProxyOptions proxyOptions) Sets the proxy.OkHttpHttpClientBuilder.readTimeout(Duration readTimeout) Sets the read timeout duration used when reading the server response.OkHttpHttpClientBuilder.sslSocketFactory(SSLSocketFactory sslSocketFactory, X509TrustManager trustManager) Sets theSSLSocketFactoryto use for HTTPS connections.OkHttpHttpClientBuilder.writeTimeout(Duration writeTimeout) Sets the writing timeout for a request to be sent.