public abstract class HttpCredentials
extends java.lang.Object
Constructor and Description |
---|
HttpCredentials() |
Modifier and Type | Method and Description |
---|---|
static HttpCredentials |
create(java.lang.String scheme,
java.lang.String token) |
static HttpCredentials |
create(java.lang.String scheme,
java.lang.String token,
java.util.Map<java.lang.String,java.lang.String> params) |
static BasicHttpCredentials |
createBasicHttpCredentials(java.lang.String username,
java.lang.String password) |
static OAuth2BearerToken |
createOAuth2BearerToken(java.lang.String token) |
abstract java.util.Map<java.lang.String,java.lang.String> |
getParams() |
abstract java.lang.String |
scheme() |
abstract java.lang.String |
token() |
public abstract java.lang.String scheme()
public abstract java.lang.String token()
public abstract java.util.Map<java.lang.String,java.lang.String> getParams()
public static HttpCredentials create(java.lang.String scheme, java.lang.String token)
public static HttpCredentials create(java.lang.String scheme, java.lang.String token, java.util.Map<java.lang.String,java.lang.String> params)
public static BasicHttpCredentials createBasicHttpCredentials(java.lang.String username, java.lang.String password)
public static OAuth2BearerToken createOAuth2BearerToken(java.lang.String token)