Class BrowserCookie


  • public class BrowserCookie
    extends Object
    Browser Cookie
    • Constructor Detail

      • BrowserCookie

        public BrowserCookie()
        Constructor
      • BrowserCookie

        public BrowserCookie​(String name,
                             String value)
        Constructor
        Parameters:
        name - Name
        value - Value
      • BrowserCookie

        public BrowserCookie​(String name,
                             String value,
                             String domain,
                             String path,
                             boolean secure,
                             boolean httpOnly,
                             Instant creationDate,
                             Instant expiryDate)
        Constructor
        Parameters:
        name - Name
        value - Value
        domain - Domain
        path - Path
        secure - Secure
        httpOnly - HTTP Only
        creationDate - Creation Date
        expiryDate - Expiry Date
    • Method Detail

      • getName

        public String getName()
        Returns the name
        Returns:
        name
      • setName

        public void setName​(String name)
        Sets the name
        Parameters:
        name - name
      • getValue

        public String getValue()
        Returns the value
        Returns:
        value
      • setValue

        public void setValue​(String value)
        Sets the value
        Parameters:
        value - value
      • getDomain

        public String getDomain()
        Returns the domain
        Returns:
        domain
      • setDomain

        public void setDomain​(String domain)
        Sets the domain
        Parameters:
        domain - domain
      • getPath

        public String getPath()
        Returns the path
        Returns:
        path
      • setPath

        public void setPath​(String path)
        Sets the path
        Parameters:
        path - path
      • isSecure

        public boolean isSecure()
        Returns the secure
        Returns:
        secure
      • setSecure

        public void setSecure​(boolean secure)
        Sets the secure
        Parameters:
        secure - secure
      • isHttpOnly

        public boolean isHttpOnly()
        Returns the httpOnly
        Returns:
        httpOnly
      • setHttpOnly

        public void setHttpOnly​(boolean httpOnly)
        Sets the httpOnly
        Parameters:
        httpOnly - httpOnly
      • getCreationDate

        public Instant getCreationDate()
        Returns the creationDate
        Returns:
        creationDate
      • setCreationDate

        public void setCreationDate​(Instant creationDate)
        Sets the creationDate
        Parameters:
        creationDate - creationDate
      • getExpiryDate

        public Instant getExpiryDate()
        Returns the expiryDate
        Returns:
        expiryDate
      • setExpiryDate

        public void setExpiryDate​(Instant expiryDate)
        Sets the expiryDate
        Parameters:
        expiryDate - expiryDate