public final class JavaNetAuthenticator extends java.lang.Object implements Authenticator
Authenticator to Authenticator. Configure OkHttp to use Authenticator with OkHttpClient.Builder.authenticator or OkHttpClient.Builder.proxyAuthenticator(Authenticator).NONE| Constructor and Description |
|---|
JavaNetAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
Request |
authenticate(Route route,
Response response) |
public Request authenticate(Route route, Response response) throws java.io.IOException
authenticate in interface Authenticatorjava.io.IOExceptionCopyright © 2017. All Rights Reserved.