Class CookieParam


  • public class CookieParam
    extends java.lang.Object
    Cookie parameter object
    • Constructor Summary

      Constructors 
      Constructor Description
      CookieParam​(java.lang.String name, java.lang.String value, java.lang.String url, java.lang.String domain, java.lang.String path, java.lang.Boolean secure, java.lang.Boolean httpOnly, CookieSameSite sameSite, TimeSinceEpoch expires)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDomain()
      Cookie domain.
      TimeSinceEpoch getExpires()
      Cookie expiration date, session cookie if not set
      java.lang.Boolean getHttpOnly()
      True if cookie is http-only.
      java.lang.String getName()
      Cookie name.
      java.lang.String getPath()
      Cookie path.
      CookieSameSite getSameSite()
      Cookie SameSite type.
      java.lang.Boolean getSecure()
      True if cookie is secure.
      java.lang.String getUrl()
      The request-URI to associate with the setting of the cookie.
      java.lang.String getValue()
      Cookie value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CookieParam

        public CookieParam​(java.lang.String name,
                           java.lang.String value,
                           java.lang.String url,
                           java.lang.String domain,
                           java.lang.String path,
                           java.lang.Boolean secure,
                           java.lang.Boolean httpOnly,
                           CookieSameSite sameSite,
                           TimeSinceEpoch expires)
    • Method Detail

      • getName

        public java.lang.String getName()
        Cookie name.
      • getValue

        public java.lang.String getValue()
        Cookie value.
      • getUrl

        public java.lang.String getUrl()
        The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie.
      • getDomain

        public java.lang.String getDomain()
        Cookie domain.
      • getPath

        public java.lang.String getPath()
        Cookie path.
      • getSecure

        public java.lang.Boolean getSecure()
        True if cookie is secure.
      • getHttpOnly

        public java.lang.Boolean getHttpOnly()
        True if cookie is http-only.
      • getSameSite

        public CookieSameSite getSameSite()
        Cookie SameSite type.
      • getExpires

        public TimeSinceEpoch getExpires()
        Cookie expiration date, session cookie if not set