Class AuthenticationProtocolHandler
java.lang.Object
org.eclipse.jetty.client.AuthenticationProtocolHandler
- All Implemented Interfaces:
ProtocolHandler
- Direct Known Subclasses:
ProxyAuthenticationProtocolHandler, WWWAuthenticationProtocolHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthenticationProtocolHandler(HttpClient client, int maxContentLength) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HttpHeaderprotected abstract Stringprotected abstract URIgetAuthenticationURI(Request request) protected abstract HttpHeaderprotected List<Authentication.HeaderInfo> getHeaderInfo(String header) protected HttpClientMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ProtocolHandler
accept, getName
-
Field Details
-
DEFAULT_MAX_CONTENT_LENGTH
public static final int DEFAULT_MAX_CONTENT_LENGTH- See Also:
-
-
Constructor Details
-
AuthenticationProtocolHandler
-
-
Method Details
-
getHttpClient
-
getAuthenticateHeader
-
getAuthorizationHeader
-
getAuthenticationURI
-
getAuthenticationAttribute
-
getResponseListener
- Specified by:
getResponseListenerin 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
-