UserTokenHandler@Contract(threading=IMMUTABLE) public class NoopUserTokenHandler extends java.lang.Object implements UserTokenHandler
UserTokenHandler that always returns null.| Modifier and Type | Field | Description |
|---|---|---|
static NoopUserTokenHandler |
INSTANCE |
| Constructor | Description |
|---|---|
NoopUserTokenHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
getUserToken(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. |
public static final NoopUserTokenHandler INSTANCE
public java.lang.Object getUserToken(org.apache.http.protocol.HttpContext context)
UserTokenHandlernull if it is not.getUserToken in interface UserTokenHandlercontext - the execution contextnull if the context is not user specific.