Class Realm

java.lang.Object
com.ning.http.client.Realm

public class Realm extends Object
This class is required when authentication is needed. The class support DIGEST and BASIC.
  • Method Details

    • getPrincipal

      public String getPrincipal()
    • getPassword

      public String getPassword()
    • getScheme

      public Realm.AuthScheme getScheme()
    • getRealmName

      public String getRealmName()
    • getNonce

      public String getNonce()
    • getAlgorithm

      public String getAlgorithm()
    • getResponse

      public String getResponse()
    • getOpaque

      public String getOpaque()
    • getQop

      public String getQop()
    • getNc

      public String getNc()
    • getCnonce

      public String getCnonce()
    • getUri

      public Uri getUri()
    • getCharset

      public Charset getCharset()
    • getMethodName

      public String getMethodName()
    • getUsePreemptiveAuth

      public boolean getUsePreemptiveAuth()
      Return true is preemptive authentication is enabled
      Returns:
      true is preemptive authentication is enabled
    • getNtlmDomain

      public String getNtlmDomain()
      Return the NTLM domain to use. This value should map the JDK
      Returns:
      the NTLM domain
    • getNtlmHost

      public String getNtlmHost()
      Return the NTLM host.
      Returns:
      the NTLM host
    • isUseAbsoluteURI

      public boolean isUseAbsoluteURI()
    • isOmitQuery

      public boolean isOmitQuery()
    • isTargetProxy

      public boolean isTargetProxy()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object