Class TkWithCookieDomain

  • All Implemented Interfaces:
    org.takes.Take

    public final class TkWithCookieDomain
    extends org.takes.tk.TkWrap
    Set-Cookie domain can be changed.

    This may be useful for some browsers. When you change a cookie domain, the RFC-6265 (in section 5.2.3) requires it to be set with attribute "Domain" with value in lowercase.

    The class is immutable and thread-safe.

    Author:
    Olivier B. OURA (baudoliver7@gmail.com)
    • Constructor Detail

      • TkWithCookieDomain

        public TkWithCookieDomain​(org.takes.Take take,
                                  CharSequence domain)