to top
Android APIs
public final class

AuthParams

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

Class Overview

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

See Also

Summary

Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static String getCredentialCharset (HttpParams params)

Since: API Level 1

Obtains the charset for encoding Credentials. If not configured, HTTP.DEFAULT_PROTOCOL_CHARSET is used instead.

Returns
  • The charset

public static void setCredentialCharset (HttpParams params, String charset)

Since: API Level 1

Sets the charset to be used when encoding Credentials.

Parameters
charset The charset