Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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