Interface Cookie


public interface Cookie
This interface represents a cookie.
  • Method Details

    • getComment

      String getComment()
      Get the comment.
      Returns:
      The comment.
    • getDomain

      String getDomain()
      Get the domain.
      Returns:
      The domain.
    • isHttpOnly

      boolean isHttpOnly()
      Get the HttpOnly flag.
      Returns:
      The HttpOnly flag.
    • getMaxAge

      int getMaxAge()
      Get the maximum age (in seconds).
      Returns:
      The maximum age.
    • getName

      String getName()
      Get the name.
      Returns:
      The name.
    • getPath

      String getPath()
      Get the path.
      Returns:
      The path.
    • isSecure

      boolean isSecure()
      Check the secure flag.
      Returns:
      The secure flag.
    • getValue

      String getValue()
      Get the value.
      Returns:
      The value.
    • getVersion

      int getVersion()
      Get the version.
      Returns:
      The version.