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 abstract class

RFC2617Scheme

extends AuthSchemeBase
java.lang.Object
   ↳ org.apache.http.impl.auth.AuthSchemeBase
     ↳ org.apache.http.impl.auth.RFC2617Scheme
Known Direct Subclasses

Class Overview

Abstract authentication scheme class that lays foundation for all RFC 2617 compliant authetication schemes and provides capabilities common to all authentication schemes defined in RFC 2617.

Summary

Public Constructors
RFC2617Scheme ()
Default constructor for RFC2617 compliant authetication schemes.
Public Methods
String getParameter ( String name)
Returns authentication parameter with the given name, if available.
String getRealm ()
Returns authentication realm.
Protected Methods
Map < String String > getParameters ()
Returns authentication parameters map.
void parseChallenge ( CharArrayBuffer buffer, int pos, int len)
[Expand]
Inherited Methods
From class org.apache.http.impl.auth.AuthSchemeBase
From class java.lang.Object
From interface org.apache.http.auth.AuthScheme

Public Constructors

public RFC2617Scheme ()

Added in API level 1

Default constructor for RFC2617 compliant authetication schemes.

Public Methods

public String getParameter ( String name)

Added in API level 1

Returns authentication parameter with the given name, if available.

Parameters
name The name of the parameter to be returned
Returns
  • the parameter with the given name

public String getRealm ()

Added in API level 1

Returns authentication realm. The realm may not be null.

Returns
  • the authentication realm

Protected Methods

protected Map < String String > getParameters ()

Added in API level 1

Returns authentication parameters map. Keys in the map are lower-cased.

Returns
  • the map of authentication parameters

protected void parseChallenge ( CharArrayBuffer buffer, int pos, int len)

Added in API level 1