Enum Class WebsiteDataTypes

java.lang.Object
java.lang.Enum<WebsiteDataTypes>
org.webkitgtk.WebsiteDataTypes
All Implemented Interfaces:
Serializable, Comparable<WebsiteDataTypes>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum WebsiteDataTypes extends Enum<WebsiteDataTypes> implements Enumeration
Enum values with flags representing types of Website data.
Since:
2.16
  • Enum Constant Details

    • MEMORY_CACHE

      public static final WebsiteDataTypes MEMORY_CACHE
      Memory cache.
    • DISK_CACHE

      public static final WebsiteDataTypes DISK_CACHE
      HTTP disk cache.
    • OFFLINE_APPLICATION_CACHE

      public static final WebsiteDataTypes OFFLINE_APPLICATION_CACHE
      Offline web application cache.
    • SESSION_STORAGE

      public static final WebsiteDataTypes SESSION_STORAGE
      Session storage data.
    • LOCAL_STORAGE

      public static final WebsiteDataTypes LOCAL_STORAGE
      Local storage data.
    • INDEXEDDB_DATABASES

      public static final WebsiteDataTypes INDEXEDDB_DATABASES
      IndexedDB databases.
    • COOKIES

      public static final WebsiteDataTypes COOKIES
      Cookies.
    • DEVICE_ID_HASH_SALT

      public static final WebsiteDataTypes DEVICE_ID_HASH_SALT
      Hash salt used to generate the device ids used by webpages.
    • HSTS_CACHE

      public static final WebsiteDataTypes HSTS_CACHE
      HSTS cache.
    • ITP

      public static final WebsiteDataTypes ITP
      Intelligent Tracking Prevention data.
    • SERVICE_WORKER_REGISTRATIONS

      public static final WebsiteDataTypes SERVICE_WORKER_REGISTRATIONS
      Service worker registrations.
    • DOM_CACHE

      public static final WebsiteDataTypes DOM_CACHE
      DOM (CacheStorage) cache.
    • ALL

      public static final WebsiteDataTypes ALL
      All types.
  • Method Details

    • values

      public static WebsiteDataTypes[] 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

      public static WebsiteDataTypes valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static Set<WebsiteDataTypes> of(int flags)
      Create a new EnumSet<WebsiteDataTypes> for the provided bitfield
      Parameters:
      flags - the WebsiteDataTypes bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<WebsiteDataTypes> of(MemorySegment address)
      Create a new EnumSet<WebsiteDataTypes> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the WebsiteDataTypes class.
      Returns:
      the GType