Class Cookie

  • All Implemented Interfaces:
    Renderable, ToStringRenderable
    Direct Known Subclasses:
    Cookie

    public abstract class Cookie
    extends HttpHeader
    Model for the `Cookie` header. Specification: https://tools.ietf.org/html/rfc6265#section-4.2
    • Constructor Detail

      • Cookie

        public Cookie()
    • Method Detail

      • getCookies

        public abstract java.lang.Iterable<HttpCookiePair> getCookies()
      • create

        public static Cookie create​(java.lang.String name,
                                    java.lang.String value)