Class HttpCookiePair

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

    public abstract class HttpCookiePair
    extends HttpCookiePair
    implements ToStringRenderable, scala.Product, java.io.Serializable
    for a full definition of the http cookie header fields, see http://tools.ietf.org/html/rfc6265 This class is sealed abstract to prevent generation of default apply method in companion
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpCookiePair()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static HttpCookiePair apply​(java.lang.String name, java.lang.String value)  
      static HttpCookiePair apply​(scala.Tuple2<java.lang.String,​java.lang.String> pair)  
      java.lang.String name()  
      static HttpCookiePair raw​(java.lang.String name, java.lang.String value)  
      static HttpCookiePair raw​(scala.Tuple2<java.lang.String,​java.lang.String> pair)  
      <R extends Rendering>
      Rendering
      render​(R r)  
      HttpCookie toCookie()
      Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.
      static void validate​(java.lang.String name, java.lang.String value)  
      static void validateRaw​(java.lang.String name, java.lang.String value)  
      java.lang.String value()  
      • 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

      • HttpCookiePair

        public HttpCookiePair()
    • Method Detail

      • apply

        public static HttpCookiePair apply​(scala.Tuple2<java.lang.String,​java.lang.String> pair)
      • apply

        public static HttpCookiePair apply​(java.lang.String name,
                                           java.lang.String value)
      • raw

        public static HttpCookiePair raw​(scala.Tuple2<java.lang.String,​java.lang.String> pair)
      • raw

        public static HttpCookiePair raw​(java.lang.String name,
                                         java.lang.String value)
      • validate

        public static void validate​(java.lang.String name,
                                    java.lang.String value)
      • validateRaw

        public static void validateRaw​(java.lang.String name,
                                       java.lang.String value)