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 SummaryConstructorsConstructorDescriptionHttpChallenge(String scheme, String realm, scala.collection.immutable.Map<String, String> params) 
- 
Method SummaryMethods inherited from class org.apache.pekko.http.javadsl.model.headers.HttpChallengecreate, create, create, create, createBasic, createOAuth2Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderablevalue
- 
Constructor Details- 
HttpChallenge
 
- 
- 
Method Details- 
apply
- 
applypublic static HttpChallenge apply(String scheme, scala.Option<String> realm, scala.collection.immutable.Map<String, String> params) 
- 
toString
- 
scheme- Specified by:
- schemein class- HttpChallenge
 
- 
realm- Specified by:
- realmin class- HttpChallenge
 
- 
params
- 
render- Specified by:
- renderin interface- Renderable
 
- 
getParamsJava API- Specified by:
- getParamsin class- HttpChallenge
 
 
-