public class

Realm

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

Class Overview

This class is required when authentication is needed. The class support DIGEST and BASIC.

Summary

Nested Classes
enum Realm.AuthScheme  
class Realm.RealmBuilder A builder for Realm  
Public Methods
boolean equals(Object o)
String getAlgorithm()
Realm.AuthScheme getAuthScheme()
String getCnonce()
String getDomain()
This method is deprecated. - use getNtlmDomain()
String getEncoding()
String getMethodName()
String getNc()
String getNonce()
String getNtlmDomain()
Return the NTLM domain to use.
String getNtlmHost()
Return the NTLM host.
String getOpaque()
String getPassword()
String getPrincipal()
String getQop()
String getRealmName()
String getResponse()
Realm.AuthScheme getScheme()
String getUri()
boolean getUsePreemptiveAuth()
Return true is preemptive authentication is enabled
int hashCode()
boolean isNtlmMessageType2Received()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object o)

public String getAlgorithm ()

public Realm.AuthScheme getAuthScheme ()

public String getCnonce ()

public String getDomain ()

This method is deprecated.
- use getNtlmDomain()

Return the NTLM domain to use. This value should map the JDK

Returns
  • the NTLM domain

public String getEncoding ()

public String getMethodName ()

public String getNc ()

public String getNonce ()

public String getNtlmDomain ()

Return the NTLM domain to use. This value should map the JDK

Returns
  • the NTLM domain

public String getNtlmHost ()

Return the NTLM host.

Returns
  • the NTLM host

public String getOpaque ()

public String getPassword ()

public String getPrincipal ()

public String getQop ()

public String getRealmName ()

public String getResponse ()

public Realm.AuthScheme getScheme ()

public String getUri ()

public boolean getUsePreemptiveAuth ()

Return true is preemptive authentication is enabled

Returns
  • true is preemptive authentication is enabled

public int hashCode ()

public boolean isNtlmMessageType2Received ()

public String toString ()