org.sblim.cimclient.internal.http
Class Challenge

java.lang.Object
  extended by org.sblim.cimclient.internal.http.Challenge

public class Challenge
extends java.lang.Object

Class Challenge holds a http authentication challenge


Method Summary
 HttpHeader getParams()
          Returns the parameters
 java.lang.String getRealm()
          Returns the realm
 java.lang.String getScheme()
          Returns the scheme
static Challenge[] parseChallenge(java.lang.String pLine)
          Parses the challenge as received from the host
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParams

public HttpHeader getParams()
Returns the parameters

Returns:
The parameters

getScheme

public java.lang.String getScheme()
Returns the scheme

Returns:
The scheme

getRealm

public java.lang.String getRealm()
Returns the realm

Returns:
The realm

parseChallenge

public static Challenge[] parseChallenge(java.lang.String pLine)
                                  throws HttpParseException
Parses the challenge as received from the host

Parameters:
pLine - The challenge string
Returns:
The parsed challenge
Throws:
HttpParseException - If the challenge string is ill-formed


Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.