Top Fields Constructors Methods
org.apache.tomcat.util.http

public abstract Class CookieProcessorBase

extends Object
implements CookieProcessor
Class Inheritance
All Implemented Interfaces
org.apache.tomcat.util.http.CookieProcessor
Known Direct Subclasses
org.apache.tomcat.util.http.Rfc6265CookieProcessor
Imports
java.text.DateFormat, .SimpleDateFormat, java.util.Date, .Locale, .TimeZone

Field Summary

Modifier and TypeField and Description
protected static final String
private boolean
private SameSiteCookies

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the Partitioned attribute should be added by default to cookies created for this web application, otherwise false
getPartitioned
()

Should the Partitioned attribute be added by default to cookies created for this web application.

public SameSiteCookies
public void
setPartitioned(boolean
true if the Partitioned attribute should be added by default to cookies created for this web application, otherwise false
partitioned
)

Configure whether the Partitioned attribute should be added by default to cookies created for this web application.

public void
setSameSiteCookies(String sameSiteCookies)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ANCIENT_DATEback to summary
protected static final String ANCIENT_DATE
partitionedback to summary
private boolean partitioned
sameSiteCookiesback to summary
private SameSiteCookies sameSiteCookies

Constructor Detail

CookieProcessorBaseback to summary
public CookieProcessorBase()

Method Detail

getPartitionedback to summary
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:boolean

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

getSameSiteCookiesback to summary
public SameSiteCookies getSameSiteCookies()
setPartitionedback to summary
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:boolean

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

setSameSiteCookiesback to summary
public void setSameSiteCookies(String sameSiteCookies)