org.apache.http.impl.client
Class DefaultUserTokenHandler
java.lang.Object
org.apache.http.impl.client.DefaultUserTokenHandler
- All Implemented Interfaces:
- UserTokenHandler
public class DefaultUserTokenHandler
- extends Object
- implements UserTokenHandler
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultUserTokenHandler
public DefaultUserTokenHandler()
getUserToken
public Object getUserToken(HttpContext context)
- Description copied from interface:
UserTokenHandler
- 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.
- Specified by:
getUserToken in interface UserTokenHandler
- Parameters:
context - the execution context
- Returns:
- user token that uniquely identifies the user or
null if the context is not user specific.
Please submit a feedback, bug or feature