public abstract class CookieProcessorBase extends java.lang.Object implements CookieProcessor
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ANCIENT_DATE |
protected static java.lang.ThreadLocal<java.text.DateFormat> |
COOKIE_DATE_FORMAT |
| Constructor and Description |
|---|
CookieProcessorBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getPartitioned()
Should the
Partitioned attribute be added by default to cookies created for this web application. |
SameSiteCookies |
getSameSiteCookies() |
void |
setPartitioned(boolean partitioned)
Configure whether the
Partitioned attribute should be added by default to cookies created for this web
application. |
void |
setSameSiteCookies(java.lang.String sameSiteCookies) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateHeader, generateHeader, getCharset, parseCookieHeaderprotected static final java.lang.ThreadLocal<java.text.DateFormat> COOKIE_DATE_FORMAT
protected static final java.lang.String ANCIENT_DATE
public SameSiteCookies getSameSiteCookies()
public void setSameSiteCookies(java.lang.String sameSiteCookies)
public boolean getPartitioned()
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.
true if the Partitioned attribute should be added by default to cookies created for this
web application, otherwise falsepublic void setPartitioned(boolean partitioned)
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.
partitioned - true if the Partitioned attribute should be added by default to cookies
created for this web application, otherwise falseCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.