Enum GlobalHeadersConfig.ClearSiteData
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum GlobalHeadersConfig.ClearSiteData extends Enum<GlobalHeadersConfig.ClearSiteData>
Directive for the Clear-Site-Data header.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
headerValue
private final String
name
private final Integer
ordinal
private final EnumEntries<GlobalHeadersConfig.ClearSiteData>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHE
Indicates that the server wishes to remove locally cached data (the browser cache) for the origin of the response URL. Depending on the browser, this might also clear out things like pre-rendered pages, script caches, WebGL shader caches, or address bar suggestions.
COOKIES
Indicates that the server wishes to remove all cookies for the origin of the response URL. HTTP authentication credentials are also cleared out. This affects the entire registered domain, including subdomains. So https://example.com as well as https://stage.example.com, will have cookies cleared.
STORAGE
Indicates that the server wishes to remove all DOM storage for the origin of the response URL. This includes storage mechanisms such as:localStorage, sessionStorage, IndexedDB, Service worker registrations, Web SQL databases (deprecated), FileSystem API data, Plugin data.
EXECUTION_CONTEXTS
Indicates that the server wishes to reload all browsing contexts for the origin of the response.
ANY
Indicates that the server wishes to clear all types of data for the origin of the response. If more data types are added in future versions of this header, they will also be covered by it.
-
Method Summary
Modifier and Type Method Description final GlobalHeadersConfig.ClearSiteData
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<GlobalHeadersConfig.ClearSiteData>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final String
getHeaderValue()
final EnumEntries<GlobalHeadersConfig.ClearSiteData>
getEntries()
Directive for the Clear-Site-Data header. -
-
Method Detail
-
valueOf
final GlobalHeadersConfig.ClearSiteData valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<GlobalHeadersConfig.ClearSiteData> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getHeaderValue
final String getHeaderValue()
-
getEntries
final EnumEntries<GlobalHeadersConfig.ClearSiteData> getEntries()
Directive for the Clear-Site-Data header.
-
-
-
-