Modifier and Type | Method and Description |
---|---|
Authenticator |
OkHttpClient.getAuthenticator() |
Authenticator |
Address.getAuthenticator()
Returns the client's authenticator.
|
Modifier and Type | Method and Description |
---|---|
OkHttpClient |
OkHttpClient.setAuthenticator(Authenticator authenticator)
Sets the authenticator used to respond to challenges from the remote web
server or proxy server.
|
Constructor and Description |
---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator authenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2016. All Rights Reserved.