    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.www.http.HttpChallenge

    java.lang.Object
       |
       +----org.w3c.www.http.BasicValue
               |
               +----org.w3c.www.http.HttpChallenge

public class HttpChallenge
extends BasicValue

##

HttpChallenge()

##

getAuthParameter(String)
  Get an authentication parameter.
getScheme()
  Get the challenge scheme.
getValue()
  HeaderValue implemenntation - Get this header value.
parse()
  Parse this header value into its various components.
setAuthParameter(String, String)
  Set an auth parameter value.
updateByteValue()
  Update the RFC822 compatible header value for this object.

##

HttpChallenge

     public HttpChallenge()

##

parse

     protected void parse() throws HttpParserException

  Parse this header value into its various components.

  Overrides:
    parse in class BasicValue

updateByteValue

     protected void updateByteValue()

  Update the RFC822 compatible header value for this object.

  Overrides:
    updateByteValue in class BasicValue

getValue

     public Object getValue()

  HeaderValue implemenntation - Get this header value.

  Overrides:
    getValue in class BasicValue

getScheme

     public String getScheme()

  Get the challenge scheme.

  Returns:
    A String encoding the challenge scheme identifier.

getAuthParameter

     public String getAuthParameter(String name)

  Get an authentication parameter.

  Parameters:
    name - The name of the parameter.
  Returns:
    A String encoded value for this parameter, or null

setAuthParameter

     public void setAuthParameter(String name,
                                  String value)

  Set an auth parameter value.

  Parameters:
    name - The name of the parameter to set.
    value - The new value for this parameter.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index