Class AuthenticationProtocolHandler

java.lang.Object
org.eclipse.jetty.client.AuthenticationProtocolHandler
All Implemented Interfaces:
ProtocolHandler
Direct Known Subclasses:
ProxyAuthenticationProtocolHandler, WWWAuthenticationProtocolHandler

public abstract class AuthenticationProtocolHandler extends Object implements ProtocolHandler
  • 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

      protected AuthenticationProtocolHandler(HttpClient client, int maxContentLength)
  • Method Details

    • getHttpClient

      protected HttpClient getHttpClient()
    • getAuthenticateHeader

      protected abstract org.eclipse.jetty.http.HttpHeader getAuthenticateHeader()
    • getAuthorizationHeader

      protected abstract org.eclipse.jetty.http.HttpHeader getAuthorizationHeader()
    • getAuthenticationURI

      protected abstract URI getAuthenticationURI(Request request)
    • getAuthenticationAttribute

      protected abstract String getAuthenticationAttribute()
    • getResponseListener

      public Response.Listener getResponseListener()
      Specified by:
      getResponseListener in interface ProtocolHandler
      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