public enum ResourceType extends Enum<ResourceType>
| Enum Constant and Description |
|---|
CSP_VIOLATION_REPORT |
DOCUMENT |
EVENT_SOURCE |
FETCH |
FONT |
IMAGE |
MANIFEST |
MEDIA |
OTHER |
PING |
SCRIPT |
SIGNED_EXCHANGE |
STYLESHEET |
TEXT_TRACK |
WEB_SOCKET |
XHR |
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
valueOf(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 TEXT_TRACK
public static final ResourceType XHR
public static final ResourceType FETCH
public static final ResourceType EVENT_SOURCE
public static final ResourceType WEB_SOCKET
public static final ResourceType MANIFEST
public static final ResourceType SIGNED_EXCHANGE
public static final ResourceType PING
public static final ResourceType CSP_VIOLATION_REPORT
public static final ResourceType OTHER
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.