Class CookieParam

java.lang.Object
io.webfolder.cdp.type.network.CookieParam

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

    Constructors 
    Constructor Description
    CookieParam()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDomain()
    Cookie domain.
    java.lang.Double getExpires()
    Cookie expiration date, session cookie if not set
    java.lang.String getName()
    Cookie name.
    java.lang.String getPath()
    Cookie path.
    CookiePriority getPriority()
    Cookie Priority.
    CookieSameSite getSameSite()
    Cookie SameSite type.
    java.lang.String getUrl()
    The request-URI to associate with the setting of the cookie.
    java.lang.String getValue()
    Cookie value.
    java.lang.Boolean isHttpOnly()
    True if cookie is http-only.
    java.lang.Boolean isSecure()
    True if cookie is secure.
    void setDomain​(java.lang.String domain)
    Cookie domain.
    void setExpires​(java.lang.Double expires)
    Cookie expiration date, session cookie if not set
    void setHttpOnly​(java.lang.Boolean httpOnly)
    True if cookie is http-only.
    void setName​(java.lang.String name)
    Cookie name.
    void setPath​(java.lang.String path)
    Cookie path.
    void setPriority​(CookiePriority priority)
    Cookie Priority.
    void setSameSite​(CookieSameSite sameSite)
    Cookie SameSite type.
    void setSecure​(java.lang.Boolean secure)
    True if cookie is secure.
    void setUrl​(java.lang.String url)
    The request-URI to associate with the setting of the cookie.
    void setValue​(java.lang.String value)
    Cookie value.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getName

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

      public void setName​(java.lang.String name)
      Cookie name.
    • getValue

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

      public void setValue​(java.lang.String value)
      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.
    • setUrl

      public void setUrl​(java.lang.String url)
      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.
    • setDomain

      public void setDomain​(java.lang.String domain)
      Cookie domain.
    • getPath

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

      public void setPath​(java.lang.String path)
      Cookie path.
    • isSecure

      public java.lang.Boolean isSecure()
      True if cookie is secure.
    • setSecure

      public void setSecure​(java.lang.Boolean secure)
      True if cookie is secure.
    • isHttpOnly

      public java.lang.Boolean isHttpOnly()
      True if cookie is http-only.
    • setHttpOnly

      public void setHttpOnly​(java.lang.Boolean httpOnly)
      True if cookie is http-only.
    • getSameSite

      public CookieSameSite getSameSite()
      Cookie SameSite type.
    • setSameSite

      public void setSameSite​(CookieSameSite sameSite)
      Cookie SameSite type.
    • getExpires

      public java.lang.Double getExpires()
      Cookie expiration date, session cookie if not set
    • setExpires

      public void setExpires​(java.lang.Double expires)
      Cookie expiration date, session cookie if not set
    • getPriority

      public CookiePriority getPriority()
      Cookie Priority.
    • setPriority

      public void setPriority​(CookiePriority priority)
      Cookie Priority.