org.sblim.cimclient.internal.http

Class WwwAuthInfo

public class WwwAuthInfo extends AuthorizationInfo

Implements HTTP basic and digest authentication
Constructor Summary
WwwAuthInfo()
Default ctor.
Method Summary
StringgetHeaderFieldName()
booleanisKeptAlive()
booleanisSentOnFirstRequest()
static String[]split(String pLine)
Splits a comma-seperated string into multiple substrings
StringtoString()
voidupdateAuthenticationInfo(Challenge challenge, String authenticate, URI url, String requestMethod)

Constructor Detail

WwwAuthInfo

public WwwAuthInfo()
Default ctor.

Method Detail

getHeaderFieldName

public String getHeaderFieldName()

isKeptAlive

public boolean isKeptAlive()

isSentOnFirstRequest

public boolean isSentOnFirstRequest()

split

public static String[] split(String pLine)
Splits a comma-seperated string into multiple substrings

Parameters: pLine The comma-seperated string

Returns: The array of substrings (excluding commas)

toString

public String toString()

updateAuthenticationInfo

public void updateAuthenticationInfo(Challenge challenge, String authenticate, URI url, String requestMethod)
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.