public final class HttpAuthenticator extends Object
Modifier and Type | Field and Description |
---|---|
static OkAuthenticator |
SYSTEM_DEFAULT
Uses the global authenticator to get the password.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
processAuthHeader(OkAuthenticator authenticator,
int responseCode,
RawHeaders responseHeaders,
RawHeaders successorRequestHeaders,
Proxy proxy,
URL url)
React to a failed authorization response by looking up new credentials.
|
public static final OkAuthenticator SYSTEM_DEFAULT
public static boolean processAuthHeader(OkAuthenticator authenticator, int responseCode, RawHeaders responseHeaders, RawHeaders successorRequestHeaders, Proxy proxy, URL url) throws IOException
IOException
Copyright © 2014. All rights reserved.