Build 1.0_r1(from source)

org.apache.http.auth.params
Class AuthParams

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

public final class AuthParams
extends Object

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

Since:
4.0
See Also:
AuthPNames

Method Summary
static String getCredentialCharset(HttpParams params)
          Obtains the charset for encoding Credentials.
static void setCredentialCharset(HttpParams params, 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 String getCredentialCharset(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(HttpParams params,
                                        String charset)
Sets the charset to be used when encoding Credentials.

Parameters:
charset - The charset

Build 1.0_r1(from source)

Please submit a feedback, bug or feature