Class Authentication.HeaderInfo

java.lang.Object
org.eclipse.jetty.client.Authentication.HeaderInfo
Enclosing interface:
Authentication

public static class Authentication.HeaderInfo extends Object
Structure holding information about the WWW-Authenticate (or Proxy-Authenticate) header.
  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Returns:
      the authentication type (for example "Basic" or "Digest")
    • getRealm

      public String getRealm()
      Returns:
      the realm name or null if there is no realm parameter
    • getBase64

      public String getBase64()
      Returns:
      the base64 content as a string if it exists otherwise null
    • getParameters

      public Map<String,String> getParameters()
      Returns:
      additional authentication parameters
    • getParameter

      public String getParameter(String paramName)
      Returns:
      specified authentication parameter or null if does not exist
    • getHeader

      public HttpHeader getHeader()
      Returns:
      the Authorization (or Proxy-Authorization) header