Class BlockedSetCookieWithReason

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

public class BlockedSetCookieWithReason
extends java.lang.Object
A cookie which was not stored from a response with the corresponding reason
  • Constructor Summary

    Constructors 
    Constructor Description
    BlockedSetCookieWithReason()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<SetCookieBlockedReason> getBlockedReasons()
    The reason(s) this cookie was blocked.
    Cookie getCookie()
    The cookie object which represents the cookie which was not stored.
    java.lang.String getCookieLine()
    The string representing this individual cookie as it would appear in the header.
    void setBlockedReasons​(java.util.List<SetCookieBlockedReason> blockedReasons)
    The reason(s) this cookie was blocked.
    void setCookie​(Cookie cookie)
    The cookie object which represents the cookie which was not stored.
    void setCookieLine​(java.lang.String cookieLine)
    The string representing this individual cookie as it would appear in the header.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getBlockedReasons

      public java.util.List<SetCookieBlockedReason> getBlockedReasons()
      The reason(s) this cookie was blocked.
    • setBlockedReasons

      public void setBlockedReasons​(java.util.List<SetCookieBlockedReason> blockedReasons)
      The reason(s) this cookie was blocked.
    • getCookieLine

      public java.lang.String getCookieLine()
      The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.
    • setCookieLine

      public void setCookieLine​(java.lang.String cookieLine)
      The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.
    • getCookie

      public Cookie getCookie()
      The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.
    • setCookie

      public void setCookie​(Cookie cookie)
      The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.