public static enum Page.ResourceType extends java.lang.Enum<Page.ResourceType>
| Enum Constant and Description |
|---|
DOCUMENT |
FONT |
IMAGE |
OTHER |
SCRIPT |
STYLESHEET |
WEBSOCKET |
XHR |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProtocolValue() |
static Page.ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Page.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Page.ResourceType DOCUMENT
public static final Page.ResourceType STYLESHEET
public static final Page.ResourceType IMAGE
public static final Page.ResourceType FONT
public static final Page.ResourceType SCRIPT
public static final Page.ResourceType XHR
public static final Page.ResourceType WEBSOCKET
public static final Page.ResourceType OTHER
public static Page.ResourceType[] values()
for (Page.ResourceType c : Page.ResourceType.values()) System.out.println(c);
public static Page.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 nullpublic java.lang.String getProtocolValue()