|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.http.BasicValue org.w3c.www.http.HttpChallenge
public class HttpChallenge
Field Summary |
---|
Fields inherited from class org.w3c.www.http.BasicValue |
---|
isValid, raw, rlen, roff |
Constructor Summary | |
---|---|
HttpChallenge()
|
Method Summary | |
---|---|
java.lang.String |
getAuthParameter(java.lang.String name)
Get an authentication parameter. |
HttpChallenge |
getClone()
get a copy of the challenge, used to add some output value without hurting the challenge |
java.lang.String |
getScheme()
Get the challenge scheme. |
java.lang.Object |
getValue()
HeaderValue implemenntation - Get this header value. |
protected void |
parse()
parse. |
void |
setAuthParameter(java.lang.String name,
java.lang.String value)
Set an auth parameter value. |
void |
setAuthParameter(java.lang.String name,
java.lang.String value,
boolean quoted)
Set an auth parameter value. |
protected void |
updateByteValue()
Update the RFC822 compatible header value for this object. |
Methods inherited from class org.w3c.www.http.BasicValue |
---|
addBytes, appendValue, checkByteValue, clone, emit, error, invalidateByteValue, setBytes, setString, toExternalForm, toString, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpChallenge()
Method Detail |
---|
public HttpChallenge getClone()
protected void parse() throws HttpParserException
parse
in class BasicValue
HttpParserException
- if parsing failed.protected void updateByteValue()
BasicValue
updateByteValue
in class BasicValue
public java.lang.Object getValue()
BasicValue
getValue
in interface HeaderValue
getValue
in class BasicValue
public java.lang.String getScheme()
public java.lang.String getAuthParameter(java.lang.String name)
name
- The name of the parameter.
public void setAuthParameter(java.lang.String name, java.lang.String value, boolean quoted)
name
- The name of the parameter to set.value
- The new value for this parameter.quoted
- If true, the value will be quotedpublic void setAuthParameter(java.lang.String name, java.lang.String value)
name
- The name of the parameter to set.value
- The new value for this parameter.
The value will be quoted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |