Package akka.http.scaladsl.model.headers
Class BasicHttpCredentials
- java.lang.Object
-
- akka.http.javadsl.model.headers.HttpCredentials
-
- akka.http.scaladsl.model.headers.HttpCredentials
-
- akka.http.javadsl.model.headers.BasicHttpCredentials
-
- akka.http.scaladsl.model.headers.BasicHttpCredentials
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,java.io.Serializable
,scala.Equals
,scala.Product
public final class BasicHttpCredentials extends BasicHttpCredentials implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasicHttpCredentials(java.lang.String username, java.lang.String password)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicHttpCredentials
apply(java.lang.String credentials)
char[]
cookie()
scala.collection.immutable.Map<java.lang.String,java.lang.String>
params()
java.lang.String
password()
<R extends Rendering>
Renderingrender(R r)
java.lang.String
scheme()
java.lang.String
token()
java.lang.String
username()
-
Methods inherited from class akka.http.scaladsl.model.headers.HttpCredentials
getParams
-
Methods inherited from class akka.http.javadsl.model.headers.HttpCredentials
create, create, createBasicHttpCredentials, createOAuth2BearerToken
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
-
-
-
Method Detail
-
apply
public static BasicHttpCredentials apply(java.lang.String credentials)
-
username
public java.lang.String username()
- Specified by:
username
in classBasicHttpCredentials
-
password
public java.lang.String password()
- Specified by:
password
in classBasicHttpCredentials
-
cookie
public char[] cookie()
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
scheme
public java.lang.String scheme()
- Specified by:
scheme
in classHttpCredentials
-
token
public java.lang.String token()
- Specified by:
token
in classHttpCredentials
-
params
public scala.collection.immutable.Map<java.lang.String,java.lang.String> params()
- Specified by:
params
in classHttpCredentials
-
-