org.apache.http.auth.params
Class AuthParams

java.lang.Object
  extended by org.apache.http.auth.params.AuthParams

public final class AuthParams
extends java.lang.Object

This class implements an adaptor around the HttpParams interface to simplify manipulation of the HTTP authentication specific parameters.

Since:
4.0
Version:
$Revision: 531154 $
Author:
Oleg Kalnichevski

Field Summary
static java.lang.String CREDENTIAL_CHARSET
          Defines the charset to be used when encoding Credentials.
 
Method Summary
static java.lang.String getCredentialCharset(org.apache.http.params.HttpParams params)
          Defines the charset to be used when encoding Credentials.
static void setCredentialCharset(org.apache.http.params.HttpParams params, java.lang.String charset)
          Sets the charset to be used when encoding Credentials.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREDENTIAL_CHARSET

public static final java.lang.String CREDENTIAL_CHARSET
Defines the charset to be used when encoding Credentials. If not defined then the HttpProtocolParams.HTTP_ELEMENT_CHARSET should be used.

This parameter expects a value of type String.

See Also:
Constant Field Values
Method Detail

getCredentialCharset

public static java.lang.String getCredentialCharset(org.apache.http.params.HttpParams params)
Defines the charset to be used when encoding Credentials. If not configured, HTTP.DEFAULT_PROTOCOL_CHARSET is used instead.

Returns:
The charset

setCredentialCharset

public static void setCredentialCharset(org.apache.http.params.HttpParams params,
                                        java.lang.String charset)
Sets the charset to be used when encoding Credentials.

Parameters:
charset - The charset


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.