Class NoopUserTokenHandler
java.lang.Object
org.apache.http.impl.client.NoopUserTokenHandler
- All Implemented Interfaces:
UserTokenHandler
Noop implementation of
UserTokenHandler that always returns null.- Since:
- 4.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUserToken(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 benullif it is not.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoopUserTokenHandler
public NoopUserTokenHandler()
-
-
Method Details
-
getUserToken
Description copied from interface:UserTokenHandlerThe token object returned by this method is expected to uniquely identify the current user if the context is user specific or to benullif it is not.- Specified by:
getUserTokenin interfaceUserTokenHandler- Parameters:
context- the execution context- Returns:
- user token that uniquely identifies the user or
null if the context is not user specific.
-