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: 618365 $
Author:
Oleg Kalnichevski
See Also:
AuthPNames

Method Summary
static java.lang.String getCredentialCharset(org.apache.http.params.HttpParams params)
          Obtains the charset for 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
 

Method Detail

getCredentialCharset

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

Returns:
The charset
See Also:
AuthPNames.CREDENTIAL_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 © 1999-2008 Apache Software Foundation. All Rights Reserved.