Package org.eclipse.jetty.client
Class AuthenticationProtocolHandler
java.lang.Object
org.eclipse.jetty.client.AuthenticationProtocolHandler
- All Implemented Interfaces:
ProtocolHandler
- Direct Known Subclasses:
ProxyAuthenticationProtocolHandler
,WWWAuthenticationProtocolHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final org.slf4j.Logger
-
Constructor Summary
ModifierConstructorDescriptionprotected
AuthenticationProtocolHandler
(HttpClient client, int maxContentLength) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HttpHeader
protected abstract String
protected abstract URI
getAuthenticationURI
(Request request) protected abstract HttpHeader
protected List<Authentication.HeaderInfo>
getHeaderInfo
(String header) protected HttpClient
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.client.ProtocolHandler
accept, getName
-
Field Details
-
DEFAULT_MAX_CONTENT_LENGTH
public static final int DEFAULT_MAX_CONTENT_LENGTH- See Also:
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
AuthenticationProtocolHandler
-
-
Method Details
-
getHttpClient
-
getAuthenticateHeader
-
getAuthorizationHeader
-
getAuthenticationURI
-
getAuthenticationAttribute
-
getResponseListener
- Specified by:
getResponseListener
in interfaceProtocolHandler
- Returns:
- a response listener that will handle the request and response on behalf of the application.
-
getHeaderInfo
protected List<Authentication.HeaderInfo> getHeaderInfo(String header) throws IllegalArgumentException - Throws:
IllegalArgumentException
-