Index
All Classes and Interfaces|All Packages
A
- addNetworkInterceptor(Interceptor) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Add a network layer interceptor to Http request pipeline.
B
- build() - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Creates a new OkHttp-backed
HttpClientinstance on every call, using the configuration set in this builder at the time of thebuild()method call.
C
- callTimeout(Duration) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the default timeout for complete calls.
- Client Core OkHttp HTTP plugin library for Java - Search tag in Overview
- Section
- configuration(Configuration) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the configuration store that is used during construction of the HTTP client.
- connectionPool(ConnectionPool) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the Http connection pool.
- connectionTimeout(Duration) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the connection timeout for a request to be sent.
- Contributing - Search tag in Overview
- Section
- Create a Client with HTTP/2 Support - Search tag in Overview
- Section
- Create a Client with Proxy - Search tag in Overview
- Section
- Create a Simple Client - Search tag in Overview
- Section
D
- dispatcher(Dispatcher) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the dispatcher that also composes the thread pool for executing HTTP requests.
E
- Enabling Logging - Search tag in Overview
- Section
- Examples - Search tag in Overview
- Section
F
- followRedirects(boolean) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the followRedirect flag on the underlying OkHttp-backed
HttpClient.
G
- getNewInstance() - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientProvider
- getSharedInstance() - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientProvider
- Getting started - Search tag in Overview
- Section
H
- hostnameVerifier(HostnameVerifier) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the
HostnameVerifierto use for HTTPS connections.
I
- Include the package - Search tag in Overview
- Section
- io.clientcore.http.okhttp3 - package io.clientcore.http.okhttp3
-
Package containing OkHttp HTTP client plugin for Client Core.
K
- Key concepts - Search tag in Overview
- Section
N
- networkInterceptors(List<Interceptor>) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Add network layer interceptors to Http request pipeline.
O
- OkHttpHttpClientBuilder - Class in io.clientcore.http.okhttp3
-
Builder class responsible for creating instances of
HttpClientbacked by OkHttp. - OkHttpHttpClientBuilder() - Constructor for class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Creates OkHttpHttpClientBuilder.
- OkHttpHttpClientBuilder(OkHttpClient) - Constructor for class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Creates OkHttpHttpClientBuilder from the builder of an existing OkHttpClient.
- OkHttpHttpClientProvider - Class in io.clientcore.http.okhttp3
-
An
HttpClientProviderthat provides an implementation of HttpClient based on OkHttp. - OkHttpHttpClientProvider() - Constructor for class io.clientcore.http.okhttp3.OkHttpHttpClientProvider
-
Creates a new instance of
OkHttpHttpClientProvider.
P
- Prerequisites - Search tag in Overview
- Section
- proxy(ProxyOptions) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the proxy.
R
- readTimeout(Duration) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the read timeout duration used when reading the server response.
S
- sslSocketFactory(SSLSocketFactory, X509TrustManager) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the
SSLSocketFactoryto use for HTTPS connections.
T
- Troubleshooting - Search tag in Overview
- Section
W
- writeTimeout(Duration) - Method in class io.clientcore.http.okhttp3.OkHttpHttpClientBuilder
-
Sets the writing timeout for a request to be sent.
All Classes and Interfaces|All Packages