FileDocCategorySizeDatePackage
UserTokenHandler.javaAPI DocAndroid 1.5 API2535Wed May 06 22:41:10 BST 2009org.apache.http.client

UserTokenHandler

public interface UserTokenHandler
A handler for determining if the given execution context is user specific or not. The token object returned by this handler is expected to uniquely identify the current user if the context is user specific or to be null if the context does not contain any resources or details specific to the current user.

The user token will be used to ensure that user specific resouces will not shared with or reused by other users.

author
Oleg Kalnichevski
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectgetUserToken(org.apache.http.protocol.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.

param
context the execution context
return
user token that uniquely identifies the user or null if the context is not user specific.