Class HttpCookiePair

  • Direct Known Subclasses:

    public abstract class HttpCookiePair
    extends java.lang.Object
    Represents a cookie pair as used in the `Cookie` header as specified in
    • Constructor Detail

      • HttpCookiePair

        public HttpCookiePair()
    • Method Detail

      • name

        public abstract java.lang.String name()
      • value

        public abstract java.lang.String value()
      • toCookie

        public abstract HttpCookie toCookie()
        Converts this cookie pair into an HttpCookie to be used with the `Set-Cookie` header.
      • create

        public static HttpCookiePair create​(java.lang.String name,
                                            java.lang.String value)
      • createRaw

        public static HttpCookiePair createRaw​(java.lang.String name,
                                               java.lang.String value)