public abstract class AuthenticationProtocolHandler extends java.lang.Object implements ProtocolHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_CONTENT_LENGTH |
static Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
AuthenticationProtocolHandler(HttpClient client,
int maxContentLength) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract HttpHeader |
getAuthenticateHeader() |
protected abstract java.lang.String |
getAuthenticationAttribute() |
protected abstract java.net.URI |
getAuthenticationURI(Request request) |
protected abstract HttpHeader |
getAuthorizationHeader() |
protected java.util.List<Authentication.HeaderInfo> |
getHeaderInfo(java.lang.String header) |
protected HttpClient |
getHttpClient() |
Response.Listener |
getResponseListener() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getNamepublic static final int DEFAULT_MAX_CONTENT_LENGTH
public static final Logger LOG
protected AuthenticationProtocolHandler(HttpClient client, int maxContentLength)
protected HttpClient getHttpClient()
protected abstract HttpHeader getAuthenticateHeader()
protected abstract HttpHeader getAuthorizationHeader()
protected abstract java.net.URI getAuthenticationURI(Request request)
protected abstract java.lang.String getAuthenticationAttribute()
public Response.Listener getResponseListener()
getResponseListener in interface ProtocolHandlerprotected java.util.List<Authentication.HeaderInfo> getHeaderInfo(java.lang.String header) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionCopyright © 1995–2021 Webtide. All rights reserved.