Package | Description |
---|---|
com.squareup.okhttp | |
com.squareup.okhttp.internal.http |
Modifier and Type | Method and Description |
---|---|
OkAuthenticator |
OkHttpClient.getAuthenticator() |
OkAuthenticator |
Address.getAuthenticator()
Returns the client's authenticator.
|
Modifier and Type | Method and Description |
---|---|
OkHttpClient |
OkHttpClient.setAuthenticator(OkAuthenticator 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,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
OkAuthenticator authenticator,
Proxy proxy,
List<String> transports) |
Modifier and Type | Field and Description |
---|---|
static OkAuthenticator |
HttpAuthenticator.SYSTEM_DEFAULT
Uses the global authenticator to get the password.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpAuthenticator.processAuthHeader(OkAuthenticator authenticator,
int responseCode,
RawHeaders responseHeaders,
RawHeaders successorRequestHeaders,
Proxy proxy,
URL url)
React to a failed authorization response by looking up new credentials.
|
Copyright © 2014. All rights reserved.