Package org.gnome.webkit
Enum Class WebsiteDataTypes
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<WebsiteDataTypes>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum WebsiteDataTypes
extends Enum<WebsiteDataTypes>
implements Enumeration
Enum values with flags representing types of Website data.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll types.Cookies.Hash salt used to generate the device ids used by webpages.HTTP disk cache.DOM (CacheStorage) cache.HSTS cache.IndexedDB databases.Intelligent Tracking Prevention data.Local storage data.Memory cache.Offline web application cache.Service worker registrations.Session storage data. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the WebsiteDataTypes classint
getValue()
Get the numeric value of this enumstatic WebsiteDataTypes
of
(int value) Create a new WebsiteDataTypes for the provided valuestatic WebsiteDataTypes
Returns the enum constant of this class with the specified name.static WebsiteDataTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MEMORY_CACHE
Memory cache. -
DISK_CACHE
HTTP disk cache. -
OFFLINE_APPLICATION_CACHE
Offline web application cache. -
SESSION_STORAGE
Session storage data. -
LOCAL_STORAGE
Local storage data. -
INDEXEDDB_DATABASES
IndexedDB databases. -
COOKIES
Cookies. -
DEVICE_ID_HASH_SALT
Hash salt used to generate the device ids used by webpages. -
HSTS_CACHE
HSTS cache. -
ITP
Intelligent Tracking Prevention data. -
SERVICE_WORKER_REGISTRATIONS
Service worker registrations. -
DOM_CACHE
DOM (CacheStorage) cache. -
ALL
All types.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new WebsiteDataTypes for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-