Package ninja

Class Cookie


  • public class Cookie
    extends Object
    An HTTP cookie
    Author:
    James Roper
    • Constructor Detail

      • Cookie

        public Cookie​(String name,
                      String value,
                      String comment,
                      String domain,
                      int maxAge,
                      String path,
                      boolean secure,
                      boolean httpOnly)
    • Method Detail

      • getName

        public String getName()
      • getValue

        public String getValue()
      • getComment

        public String getComment()
      • getDomain

        public String getDomain()
      • getMaxAge

        public int getMaxAge()
      • getPath

        public String getPath()
      • isSecure

        public boolean isSecure()
      • isHttpOnly

        public boolean isHttpOnly()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object