Uses of Class
com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
Package
Description
Package containing OkHttp HTTP client plugin for azure-core.
-
Uses of OkHttpAsyncHttpClientBuilder in com.azure.core.http.okhttp
Modifier and TypeMethodDescriptionOkHttpAsyncHttpClientBuilder.addNetworkInterceptor
(okhttp3.Interceptor networkInterceptor) Add a network layer interceptor to Http request pipeline.OkHttpAsyncHttpClientBuilder.callTimeout
(Duration callTimeout) Sets the default timeout for complete calls.OkHttpAsyncHttpClientBuilder.configuration
(Configuration configuration) Sets the configuration store that is used during construction of the HTTP client.OkHttpAsyncHttpClientBuilder.connectionPool
(okhttp3.ConnectionPool connectionPool) Sets the Http connection pool.OkHttpAsyncHttpClientBuilder.connectionTimeout
(Duration connectionTimeout) Sets the connection timeout for a request to be sent.OkHttpAsyncHttpClientBuilder.dispatcher
(okhttp3.Dispatcher dispatcher) Sets the dispatcher that also composes the thread pool for executing HTTP requests.OkHttpAsyncHttpClientBuilder.followRedirects
(boolean followRedirects) Sets the followRedirect flag on the underlying OkHttp-backedHttpClient
.OkHttpAsyncHttpClientBuilder.networkInterceptors
(List<okhttp3.Interceptor> networkInterceptors) Add network layer interceptors to Http request pipeline.OkHttpAsyncHttpClientBuilder.proxy
(ProxyOptions proxyOptions) Sets the proxy.OkHttpAsyncHttpClientBuilder.readTimeout
(Duration readTimeout) Sets the read timeout duration used when reading the server response.OkHttpAsyncHttpClientBuilder.writeTimeout
(Duration writeTimeout) Sets the writing timeout for a request to be sent.