Package akka.http.scaladsl.model.headers
Class HttpChallenge
java.lang.Object
akka.http.javadsl.model.headers.HttpChallenge
akka.http.scaladsl.model.headers.HttpChallenge
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,Serializable
,scala.Equals
,scala.Product
public final class HttpChallenge
extends HttpChallenge
implements ValueRenderable, scala.Product, Serializable
Note: the token of challenge is stored in the params Map as a parameter whose name is empty String("") for binary
compatibility, but it will be parsed and rendered correctly.
- See Also:
-
Constructor Summary
ConstructorDescriptionHttpChallenge
(String scheme, String realm, scala.collection.immutable.Map<String, String> params) -
Method Summary
Methods inherited from class akka.http.javadsl.model.headers.HttpChallenge
create, create, create, create, createBasic, createOAuth2
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
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
-
Constructor Details
-
HttpChallenge
-
-
Method Details
-
apply
-
apply
public static HttpChallenge apply(String scheme, scala.Option<String> realm, scala.collection.immutable.Map<String, String> params) -
toString
-
scheme
- Specified by:
scheme
in classHttpChallenge
-
realm
- Specified by:
realm
in classHttpChallenge
-
params
-
render
- Specified by:
render
in interfaceRenderable
-
getParams
Java API- Specified by:
getParams
in classHttpChallenge
-