public enum ResourceType extends java.lang.Enum<ResourceType>
| Enum Constant and Description |
|---|
CSPViolationReport |
Document |
EventSource |
Fetch |
Font |
Image |
Manifest |
Media |
Other |
Ping |
Script |
SignedExchange |
Stylesheet |
TextTrack |
WebSocket |
XHR |
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType Document
public static final ResourceType Stylesheet
public static final ResourceType Image
public static final ResourceType Media
public static final ResourceType Font
public static final ResourceType Script
public static final ResourceType TextTrack
public static final ResourceType XHR
public static final ResourceType Fetch
public static final ResourceType EventSource
public static final ResourceType WebSocket
public static final ResourceType Manifest
public static final ResourceType SignedExchange
public static final ResourceType Ping
public static final ResourceType CSPViolationReport
public static final ResourceType Other
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null