com.ning.http.client
Class Realm.RealmBuilder
java.lang.Object
com.ning.http.client.Realm.RealmBuilder
- Enclosing class:
- Realm
public static class Realm.RealmBuilder
- extends Object
A builder for Realm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Realm.RealmBuilder
public Realm.RealmBuilder()
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.