Index
All Classes and Interfaces|All Packages
A
- addNetworkInterceptor(Interceptor) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Add a network layer interceptor to Http request pipeline.
- Azure Core OkHttp HTTP plugin library for Java - Section in Overview
B
- build() - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Creates a new OkHttp-backed
HttpClientinstance on every call, using the configuration set in the builder at the time of the build method call.
C
- callTimeout(Duration) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the default timeout for complete calls.
- com.azure.core.http.okhttp - package com.azure.core.http.okhttp
-
Azure Core Http OkHttp client library is a plugin for the azure-core HTTP client API.
- configuration(Configuration) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the configuration store that is used during construction of the HTTP client.
- connectionPool(ConnectionPool) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the Http connection pool.
- connectionTimeout(Duration) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the connection timeout for a request to be sent.
- Contributing - Section in Overview
- Create a Client with HTTP/2 Support - Section in Overview
- Create a Client with Proxy - Section in Overview
- Create a Simple Client - Section in Overview
- createInstance() - Method in class com.azure.core.http.okhttp.OkHttpAsyncClientProvider
- createInstance(HttpClientOptions) - Method in class com.azure.core.http.okhttp.OkHttpAsyncClientProvider
D
- dispatcher(Dispatcher) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the dispatcher that also composes the thread pool for executing HTTP requests.
E
- Enabling Logging - Section in Overview
- Examples - Section in Overview
F
- followRedirects(boolean) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the followRedirect flag on the underlying OkHttp-backed
HttpClient.
G
- Getting started - Section in Overview
I
- Include direct dependency - Section in Overview
- Include the BOM file - Section in Overview
- Include the package - Section in Overview
K
- Key concepts - Section in Overview
N
- networkInterceptors(List) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Add network layer interceptors to Http request pipeline.
- Next steps - Section in Overview
O
- OkHttpAsyncClientProvider - Class in com.azure.core.http.okhttp
-
This class provides an OkHttp-based implementation for the
HttpClientProviderinterface. - OkHttpAsyncClientProvider() - Constructor for class com.azure.core.http.okhttp.OkHttpAsyncClientProvider
-
For testing purpose only, assigning 'AZURE_ENABLE_HTTP_CLIENT_SHARING' to 'enableHttpClientSharing' for 'final' modifier.
- OkHttpAsyncHttpClientBuilder - Class in com.azure.core.http.okhttp
-
Builder class responsible for creating instances of
HttpClientbacked by OkHttp. - OkHttpAsyncHttpClientBuilder() - Constructor for class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Creates OkHttpAsyncHttpClientBuilder.
- OkHttpAsyncHttpClientBuilder(OkHttpClient) - Constructor for class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Creates OkHttpAsyncHttpClientBuilder from the builder of an existing OkHttpClient.
P
- Prerequisites - Section in Overview
- proxy(ProxyOptions) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the proxy.
R
- readTimeout(Duration) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the read timeout duration used when reading the server response.
- responseTimeout(Duration) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the response timeout duration used when waiting for a server to reply.
T
- Troubleshooting - Section in Overview
U
- Using OkHttpAsyncHttpClient with HTTP/2 Support - Section in package com.azure.core.http.okhttp
- Using OkHttpAsyncHttpClient with Http Proxy - Section in package com.azure.core.http.okhttp
W
- writeTimeout(Duration) - Method in class com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder
-
Sets the writing timeout for a request to be sent.
All Classes and Interfaces|All Packages