Class CookieProcessorBase

java.lang.Object
org.apache.tomcat.util.http.CookieProcessorBase
All Implemented Interfaces:
CookieProcessor
Direct Known Subclasses:
Rfc6265CookieProcessor

public abstract class CookieProcessorBase extends Object implements CookieProcessor
  • Field Details

    • ANCIENT_DATE

      protected static final String ANCIENT_DATE
  • Constructor Details

    • CookieProcessorBase

      public CookieProcessorBase()
  • Method Details

    • getCookiesWithoutEquals

      public String getCookiesWithoutEquals()
    • getCookiesWithoutEqualsInternal

      protected CookiesWithoutEquals getCookiesWithoutEqualsInternal()
    • setCookiesWithoutEquals

      public void setCookiesWithoutEquals(String cookiesWithoutEquals)
    • getSameSiteCookies

      public SameSiteCookies getSameSiteCookies()
    • setSameSiteCookies

      public void setSameSiteCookies(String sameSiteCookies)
    • getPartitioned

      public boolean getPartitioned()
      Should the Partitioned attribute be added by default to cookies created for this web application.

      The name of the attribute used to indicate a partitioned cookie as part of CHIPS is not defined by an RFC and may change in a non-backwards compatible way once equivalent functionality is included in an RFC.

      Returns:
      true if the Partitioned attribute should be added by default to cookies created for this web application, otherwise false
    • setPartitioned

      public void setPartitioned(boolean partitioned)
      Configure whether the Partitioned attribute should be added by default to cookies created for this web application.

      The name of the attribute used to indicate a partitioned cookie as part of CHIPS is not defined by an RFC and may change in a non-backwards compatible way once equivalent functionality is included in an RFC.

      Parameters:
      partitioned - true if the Partitioned attribute should be added by default to cookies created for this web application, otherwise false