Package akka.http.javadsl.model.headers
Class HttpCredentials
- java.lang.Object
-
- akka.http.javadsl.model.headers.HttpCredentials
-
- Direct Known Subclasses:
HttpCredentials
public abstract class HttpCredentials extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HttpCredentials()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
scheme
public abstract java.lang.String scheme()
-
token
public abstract java.lang.String token()
-
getParams
public abstract java.util.Map<java.lang.String,java.lang.String> getParams()
-
create
public static HttpCredentials create(java.lang.String scheme, java.lang.String token)
-
create
public static HttpCredentials create(java.lang.String scheme, java.lang.String token, java.util.Map<java.lang.String,java.lang.String> params)
-
createBasicHttpCredentials
public static BasicHttpCredentials createBasicHttpCredentials(java.lang.String username, java.lang.String password)
-
createOAuth2BearerToken
public static OAuth2BearerToken createOAuth2BearerToken(java.lang.String token)
-
-