public interface WWWAuthenticateHeader extends Parameters, Header
For Example:
WWW-Authenticate: Digest realm="atlanta.com", domain="sip:boxesbybob.com",
qop="auth", nonce="f84f1cec41e6cbe5aea9c8e88d359", opaque="", stale=FALSE,
algorithm=MD5
Parameters
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Name of WWWAuthenticateHeader
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Returns the Algorithm value of this WWWAuthenicateHeader.
|
String |
getDomain()
Returns the Domain value of this WWWAuthenicateHeader.
|
String |
getNonce()
Returns the Nonce value of this WWWAuthenicateHeader.
|
String |
getOpaque()
Returns the Opaque value of this WWWAuthenicateHeader.
|
String |
getQop()
Returns the Qop value of this WWWAuthenicateHeader.
|
String |
getRealm()
Returns the Realm value of this WWWAuthenicateHeader.
|
String |
getScheme()
Returns the scheme of the challenge information for this WWWAuthenticateHeader.
|
URI |
getURI()
Deprecated.
Since v1.2. URI is not a supported parameter for this
header. This method should return null.
|
boolean |
isStale()
Returns the boolean value of the state paramater of this
WWWAuthenicateHeader.
|
void |
setAlgorithm(String algorithm)
Sets the Algorithm of the WWWAuthenicateHeader to the new
algorithm parameter value.
|
void |
setDomain(String domain)
Sets the Domain of the WWWAuthenicateHeader to the domain
parameter value.
|
void |
setNonce(String nonce)
Sets the Nonce of the WWWAuthenicateHeader to the nonce
parameter value.
|
void |
setOpaque(String opaque)
Sets the Opaque value of the WWWAuthenicateHeader to the new
opaque parameter value.
|
void |
setQop(String qop)
Sets the Qop value of the WWWAuthenicateHeader to the new
qop parameter value.
|
void |
setRealm(String realm)
Sets the Realm of the WWWAuthenicateHeader to the realm
parameter value.
|
void |
setScheme(String scheme)
Sets the scheme of the challenge information for this WWWAuthenticateHeader.
|
void |
setStale(boolean stale)
Sets the value of the stale parameter of the WWWAuthenicateHeader to the
stale parameter value.
|
void |
setURI(URI uri)
Deprecated.
Since v1.2. URI is not a supported parameter for this header.
|
getParameter, getParameterNames, removeParameter, setParameter
static final String NAME
void setScheme(String scheme)
scheme
- - the new string value that identifies the challenge
information scheme.String getScheme()
void setRealm(String realm) throws ParseException
realm
- the new Realm String of this WWWAuthenicateHeader.ParseException
- which signals that an error has been reached
unexpectedly while parsing the realm.String getRealm()
void setNonce(String nonce) throws ParseException
nonce
- - the new nonce String of this WWWAuthenicateHeader.ParseException
- which signals that an error has been reached
unexpectedly while parsing the nonce value.String getNonce()
void setURI(URI uri)
uri
- - the new URI of this WWWAuthenicateHeader.URI getURI()
void setAlgorithm(String algorithm) throws ParseException
algorithm
- - the new algorithm String of this WWWAuthenicateHeader.ParseException
- which signals that an error has been reached
unexpectedly while parsing the algorithm value.String getAlgorithm()
void setQop(String qop) throws ParseException
qop
- - the new Qop string of this WWWAuthenicateHeader.ParseException
- which signals that an error has been reached
unexpectedly while parsing the Qop value.String getQop()
void setOpaque(String opaque) throws ParseException
opaque
- - the new Opaque string of this WWWAuthenicateHeader.ParseException
- which signals that an error has been reached
unexpectedly while parsing the opaque value.String getOpaque()
void setDomain(String domain) throws ParseException
domain
- - the new Domain string of this WWWAuthenicateHeader.ParseException
- which signals that an error has been reached
unexpectedly while parsing the domain.String getDomain()
void setStale(boolean stale)
stale
- - the new boolean value of the stale parameter.boolean isStale()
Copyright © 2017. All Rights Reserved.