public final class

AuthParams

extends Object
java.lang.Object
   ↳ org.apache.http.auth.params.AuthParams

Class Overview

An adaptor for manipulating HTTP authentication parameters in HttpParams.

See Also

Summary

Public Methods
static String getCredentialCharset(HttpParams params)
Obtains the charset for encoding Credentials.If not configured, DEFAULT_PROTOCOL_CHARSETis used instead.
static void setCredentialCharset(HttpParams params, String charset)
Sets the charset to be used when encoding Credentials.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static String getCredentialCharset (HttpParams params)

Also: HttpClient

Obtains the charset for encoding Credentials.If not configured, DEFAULT_PROTOCOL_CHARSETis used instead.

Returns
  • The charset

public static void setCredentialCharset (HttpParams params, String charset)

Also: HttpClient

Sets the charset to be used when encoding Credentials.

Parameters
charset The charset