public final class NullAuthenticator extends Object implements Authenticator, ProxyAuthenticator
| Modifier and Type | Field and Description |
|---|---|
static NullAuthenticator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
afterFailedAuthentication(Headers responseHeaders) |
void |
afterFailedAuthentication(HTTPRequest request,
Headers responseHeaders) |
void |
afterSuccessfulAuthentication(Headers responseHeaders) |
void |
afterSuccessfulAuthentication(HTTPRequest request,
Headers responseHeaders) |
boolean |
canAuthenticatePreemptively() |
boolean |
canAuthenticatePreemptively(HTTPRequest request) |
ProxyConfiguration |
getConfiguration() |
void |
invalidateAuthentication() |
HTTPRequest |
prepareAuthentication(HTTPRequest request,
HTTPResponse response) |
HTTPRequest |
preparePreemptiveAuthentication(HTTPRequest request) |
public static final NullAuthenticator INSTANCE
public HTTPRequest prepareAuthentication(HTTPRequest request, HTTPResponse response)
prepareAuthentication in interface AuthenticatorprepareAuthentication in interface ProxyAuthenticatorpublic HTTPRequest preparePreemptiveAuthentication(HTTPRequest request)
preparePreemptiveAuthentication in interface AuthenticatorpreparePreemptiveAuthentication in interface ProxyAuthenticatorpublic void afterSuccessfulAuthentication(HTTPRequest request, Headers responseHeaders)
afterSuccessfulAuthentication in interface Authenticatorpublic boolean canAuthenticatePreemptively(HTTPRequest request)
canAuthenticatePreemptively in interface Authenticatorpublic void afterFailedAuthentication(HTTPRequest request, Headers responseHeaders)
afterFailedAuthentication in interface Authenticatorpublic void invalidateAuthentication()
invalidateAuthentication in interface ProxyAuthenticatorpublic ProxyConfiguration getConfiguration()
getConfiguration in interface ProxyAuthenticatorpublic boolean canAuthenticatePreemptively()
canAuthenticatePreemptively in interface ProxyAuthenticatorpublic void afterSuccessfulAuthentication(Headers responseHeaders)
afterSuccessfulAuthentication in interface ProxyAuthenticatorpublic void afterFailedAuthentication(Headers responseHeaders)
afterFailedAuthentication in interface ProxyAuthenticatorCopyright © 2008–2017. All rights reserved.