Skip to content

Most visited

Recently visited

navigation

AuthParams | Android Developers

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)

Added in 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)

Added in API level 1

Sets the charset to be used when encoding Credentials.

Parameters
charset The charset
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.