Android APIs
public final class

AuthParams

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

This class is deprecated.
Please use openConnection() instead. Please visit this webpage for further details.

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