| Package | Description |
|---|---|
| okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JavaNetAuthenticator
Adapts
Authenticator to Authenticator. |
| Modifier and Type | Field and Description |
|---|---|
static Authenticator |
Authenticator.NONE
An authenticator that knows no credentials and makes no attempt to authenticate.
|
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
OkHttpClient.authenticator() |
Authenticator |
Address.proxyAuthenticator()
Returns the client's proxy authenticator.
|
Authenticator |
OkHttpClient.proxyAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.authenticator(Authenticator authenticator)
Sets the authenticator used to respond to challenges from origin servers.
|
OkHttpClient.Builder |
OkHttpClient.Builder.proxyAuthenticator(Authenticator proxyAuthenticator)
Sets the authenticator used to respond to challenges from proxy servers.
|
| Constructor and Description |
|---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2017. All Rights Reserved.