Android APIs
Added in API level 1
Deprecated since API level 22
public class

DefaultUserTokenHandler

extends Object
implements UserTokenHandler
java.lang.Object
   ↳ org.apache.http.impl.client.DefaultUserTokenHandler

This class was deprecated in API level 22.
Please use openConnection() instead. Please visit this webpage for further details.

Summary

Public Constructors
DefaultUserTokenHandler()
Public Methods
Object getUserToken(HttpContext context)
The token object returned by this method is expected to uniquely identify the current user if the context is user specific or to be null if it is not.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.client.UserTokenHandler

Public Constructors

public DefaultUserTokenHandler ()

Added in API level 1

Public Methods

public Object getUserToken (HttpContext context)

Added in API level 1

The token object returned by this method is expected to uniquely identify the current user if the context is user specific or to be null if it is not.

Parameters
context the execution context
Returns
  • user token that uniquely identifies the user or null if the context is not user specific.