Class HttpChallenge

  • All Implemented Interfaces:
    Renderable, ToStringRenderable, ValueRenderable, java.io.Serializable, scala.Equals, scala.Product

    public final class HttpChallenge
    extends HttpChallenge
    implements ValueRenderable, scala.Product, java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpChallenge​(java.lang.String scheme, java.lang.String realm, scala.collection.immutable.Map<java.lang.String,​java.lang.String> params)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static HttpChallenge apply​(java.lang.String scheme, scala.Option<java.lang.String> realm)  
      static HttpChallenge apply​(java.lang.String scheme, scala.Option<java.lang.String> realm, scala.collection.immutable.Map<java.lang.String,​java.lang.String> params)  
      java.util.Map<java.lang.String,​java.lang.String> getParams()
      Java API
      scala.collection.immutable.Map<java.lang.String,​java.lang.String> params()  
      java.lang.String realm()  
      <R extends Rendering>
      Rendering
      render​(R r)  
      java.lang.String scheme()  
      static java.lang.String toString()  
      • 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
    • Constructor Detail

      • HttpChallenge

        public HttpChallenge​(java.lang.String scheme,
                             java.lang.String realm,
                             scala.collection.immutable.Map<java.lang.String,​java.lang.String> params)
    • Method Detail

      • apply

        public static HttpChallenge apply​(java.lang.String scheme,
                                          scala.Option<java.lang.String> realm)
      • apply

        public static HttpChallenge apply​(java.lang.String scheme,
                                          scala.Option<java.lang.String> realm,
                                          scala.collection.immutable.Map<java.lang.String,​java.lang.String> params)
      • toString

        public static java.lang.String toString()
      • params

        public scala.collection.immutable.Map<java.lang.String,​java.lang.String> params()
      • getParams

        public java.util.Map<java.lang.String,​java.lang.String> getParams()
        Java API
        Specified by:
        getParams in class HttpChallenge