Interface SetCookie

All Superinterfaces:
Cookie
All Known Implementing Classes:
SetCookieCodec.SetCookie

public interface SetCookie extends Cookie

Represents a HTTP set-cookie.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Method Details

    • getMaxAge

      Integer getMaxAge()

      Returns cookie's max age.

      Returns:
      the max age or null
    • getDomain

      String getDomain()

      Returns cookie's dpmain.

      Returns:
      the domain or null
    • getPath

      String getPath()

      Returns cookie's path.

      Returns:
      the path or null
    • isSecure

      Boolean isSecure()

      Returns cookie's secure flag.

      Returns:
      the secure flag or null
    • isHttpOnly

      Boolean isHttpOnly()

      Returns cookie's http only flag.

      Returns:
      the http only flag or null