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 |
---|---|
(package private) Authenticator |
OkHttpClient.authenticator |
(package private) Authenticator |
OkHttpClient.Builder.authenticator |
static Authenticator |
Authenticator.NONE
An authenticator that knows no credentials and makes no attempt to authenticate.
|
(package private) Authenticator |
OkHttpClient.proxyAuthenticator |
(package private) Authenticator |
OkHttpClient.Builder.proxyAuthenticator |
(package private) Authenticator |
Address.proxyAuthenticator |
Modifier and Type | Method and Description |
---|---|
Authenticator |
OkHttpClient.authenticator() |
Authenticator |
OkHttpClient.proxyAuthenticator() |
Authenticator |
Address.proxyAuthenticator()
Returns the client's proxy authenticator.
|
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(java.lang.String uriHost,
int uriPort,
Dns dns,
javax.net.SocketFactory socketFactory,
javax.net.ssl.SSLSocketFactory sslSocketFactory,
javax.net.ssl.HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
java.net.Proxy proxy,
java.util.List<Protocol> protocols,
java.util.List<ConnectionSpec> connectionSpecs,
java.net.ProxySelector proxySelector) |