Class CookieProcessorBase
java.lang.Object
org.apache.tomcat.util.http.CookieProcessorBase
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final ThreadLocal
<DateFormat> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CookiesWithoutEquals
boolean
Should thePartitioned
attribute be added by default to cookies created for this web application.void
setCookiesWithoutEquals
(String cookiesWithoutEquals) void
setPartitioned
(boolean partitioned) Configure whether thePartitioned
attribute should be added by default to cookies created for this web application.void
setSameSiteCookies
(String sameSiteCookies) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.tomcat.util.http.CookieProcessor
generateHeader, getCharset, parseCookieHeader
-
Field Details
-
COOKIE_DATE_FORMAT
-
ANCIENT_DATE
-
-
Constructor Details
-
CookieProcessorBase
public CookieProcessorBase()
-
-
Method Details
-
getCookiesWithoutEquals
-
getCookiesWithoutEqualsInternal
-
setCookiesWithoutEquals
-
getSameSiteCookies
-
setSameSiteCookies
-
getPartitioned
public boolean getPartitioned()Should thePartitioned
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 thePartitioned
attribute should be added by default to cookies created for this web application, otherwisefalse
-
setPartitioned
public void setPartitioned(boolean partitioned) Configure whether thePartitioned
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 thePartitioned
attribute should be added by default to cookies created for this web application, otherwisefalse
-