Class HttpChallenge
java.lang.Object
org.apache.pekko.http.javadsl.model.headers.HttpChallenge
org.apache.pekko.http.scaladsl.model.headers.HttpChallenge
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ValueRenderable,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
ConstructorsConstructorDescriptionHttpChallenge(String scheme, String realm, scala.collection.immutable.Map<String, String> params) -
Method Summary
Methods inherited from class org.apache.pekko.http.javadsl.model.headers.HttpChallenge
create, create, create, create, createBasic, createOAuth2Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toStringMethods inherited from interface org.apache.pekko.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:
schemein classHttpChallenge
-
realm
- Specified by:
realmin classHttpChallenge
-
params
-
render
- Specified by:
renderin interfaceRenderable
-
getParams
Java API- Specified by:
getParamsin classHttpChallenge
-