public class Challenge extends SIPObject
| Modifier and Type | Field and Description |
|---|---|
protected NameValueList |
authParams
authParms list
|
protected String |
scheme
scheme field
|
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation| Constructor and Description |
|---|
Challenge()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this object.
|
String |
encode()
Encode the challenge in canonical form.
|
String |
getAlgorithm()
get the Algorithm value.
|
NameValueList |
getAuthParams()
get AuthParms list.
|
String |
getDomain()
get the domain
|
String |
getOpaque()
get the Opaque field
|
String |
getParameter(String name)
get the specified parameter
|
String |
getQOP()
get QOP value
|
String |
getRealm()
get the realm value.
|
String |
getResponse()
get the Response value.
|
String |
getScheme()
get the scheme field
|
String |
getSignature()
get the Signature value.
|
String |
getSignedBy()
get the signedBy value.
|
String |
getStale()
get the State value.
|
String |
getURI()
get the URI field
|
boolean |
hasParameter(String name)
boolean function
|
boolean |
hasParameters()
Boolean function
|
boolean |
removeParameter(String name)
delete the specified parameter
|
void |
removeParameters()
remove all parameters
|
void |
setAuthParams(NameValueList a)
Set the authParams member
|
void |
setParameter(NameValue nv)
set the specified parameter
|
void |
setScheme(String s)
Set the scheme member
|
dbgPrint, debugDump, debugDump, encode, equals, match, toStringdbgPrint, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprintprotected String scheme
protected NameValueList authParams
public String encode()
public String getScheme()
public NameValueList getAuthParams()
public String getDomain()
public String getURI()
public String getOpaque()
public String getQOP()
public String getAlgorithm()
public String getStale()
public String getSignature()
public String getSignedBy()
public String getResponse()
public String getRealm()
public String getParameter(String name)
name - String to setpublic boolean hasParameter(String name)
name - String to setpublic boolean hasParameters()
public boolean removeParameter(String name)
name - Stringpublic void removeParameters()
public void setParameter(NameValue nv)
nv - NameValue to setpublic void setScheme(String s)
s - String to setpublic void setAuthParams(NameValueList a)
a - NameValueList to setpublic Object clone()
GenericObjectclone in class GenericObjectCopyright © 2018. All Rights Reserved.