com.ning.http.client
Class Realm.RealmBuilder

java.lang.Object
  extended by com.ning.http.client.Realm.RealmBuilder
Enclosing class:
Realm

public static class Realm.RealmBuilder
extends Object

A builder for Realm


Constructor Summary
Realm.RealmBuilder()
           
 
Method Summary
 Realm build()
          Build a Realm
 Realm.RealmBuilder clone(Realm clone)
           
 String getAlgorithm()
           
 String getDomain()
          Deprecated. 
 String getEncoding()
           
 String getMethodName()
           
 String getNc()
           
 String getNonce()
           
 String getNtlmDomain()
           
 String getNtlmHost()
           
 String getPassword()
           
 String getPrincipal()
           
 String getQop()
           
 String getRealmName()
           
 String getResponse()
           
 Realm.AuthScheme getScheme()
           
 String getUri()
           
 boolean getUsePreemptiveAuth()
           
 Realm.RealmBuilder parseWWWAuthenticateHeader(String headerLine)
           
 Realm.RealmBuilder setAlgorithm(String algorithm)
           
 Realm.RealmBuilder setDomain(String domain)
          Deprecated. 
 Realm.RealmBuilder setEnconding(String enc)
           
 Realm.RealmBuilder setMethodName(String methodName)
           
 Realm.RealmBuilder setNc(String nc)
           
 Realm.RealmBuilder setNonce(String nonce)
           
 Realm.RealmBuilder setNtlmDomain(String domain)
           
 Realm.RealmBuilder setNtlmHost(String host)
           
 Realm.RealmBuilder setNtlmMessageType2Received(boolean messageType2Received)
           
 Realm.RealmBuilder setPassword(String password)
           
 Realm.RealmBuilder setPrincipal(String principal)
           
 Realm.RealmBuilder setQop(String qop)
           
 Realm.RealmBuilder setRealmName(String realmName)
           
 Realm.RealmBuilder setResponse(String response)
           
 Realm.RealmBuilder setScheme(Realm.AuthScheme scheme)
           
 Realm.RealmBuilder setUri(String uri)
           
 Realm.RealmBuilder setUsePreemptiveAuth(boolean usePreemptiveAuth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Realm.RealmBuilder

public Realm.RealmBuilder()
Method Detail

getDomain

@Deprecated
public String getDomain()
Deprecated. 


setDomain

@Deprecated
public Realm.RealmBuilder setDomain(String domain)
Deprecated. 


getNtlmDomain

public String getNtlmDomain()

setNtlmDomain

public Realm.RealmBuilder setNtlmDomain(String domain)

getNtlmHost

public String getNtlmHost()

setNtlmHost

public Realm.RealmBuilder setNtlmHost(String host)

getPrincipal

public String getPrincipal()

setPrincipal

public Realm.RealmBuilder setPrincipal(String principal)

getPassword

public String getPassword()

setPassword

public Realm.RealmBuilder setPassword(String password)

getScheme

public Realm.AuthScheme getScheme()

setScheme

public Realm.RealmBuilder setScheme(Realm.AuthScheme scheme)

getRealmName

public String getRealmName()

setRealmName

public Realm.RealmBuilder setRealmName(String realmName)

getNonce

public String getNonce()

setNonce

public Realm.RealmBuilder setNonce(String nonce)

getAlgorithm

public String getAlgorithm()

setAlgorithm

public Realm.RealmBuilder setAlgorithm(String algorithm)

getResponse

public String getResponse()

setResponse

public Realm.RealmBuilder setResponse(String response)

getQop

public String getQop()

setQop

public Realm.RealmBuilder setQop(String qop)

getNc

public String getNc()

setNc

public Realm.RealmBuilder setNc(String nc)

getUri

public String getUri()

setUri

public Realm.RealmBuilder setUri(String uri)

getMethodName

public String getMethodName()

setMethodName

public Realm.RealmBuilder setMethodName(String methodName)

getUsePreemptiveAuth

public boolean getUsePreemptiveAuth()

setUsePreemptiveAuth

public Realm.RealmBuilder setUsePreemptiveAuth(boolean usePreemptiveAuth)

parseWWWAuthenticateHeader

public Realm.RealmBuilder parseWWWAuthenticateHeader(String headerLine)

setNtlmMessageType2Received

public Realm.RealmBuilder setNtlmMessageType2Received(boolean messageType2Received)

clone

public Realm.RealmBuilder clone(Realm clone)

getEncoding

public String getEncoding()

setEnconding

public Realm.RealmBuilder setEnconding(String enc)

build

public Realm build()
Build a Realm

Returns:
a Realm


Copyright © 2011. All Rights Reserved.