Enum Class CefriumResourceType
- All Implemented Interfaces:
Serializable, Comparable<CefriumResourceType>, Constable
What a request is for, as
CefriumResourceInterceptor sees it.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA page loaded into the main frame.Audio and video.Anything else (<object>,<embed>, other subresources).navigator.sendBeacon, hyperlink auditing, CSP reports.<link rel=prefetch>.A service worker's script.A page loaded into an iframe.A dedicated or shared worker's script.fetch()andXMLHttpRequest. -
Method Summary
Modifier and TypeMethodDescriptionstatic CefriumResourceTypeReturns the enum constant of this class with the specified name.static CefriumResourceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAIN_FRAME
A page loaded into the main frame. -
SUB_FRAME
A page loaded into an iframe. -
STYLESHEET
-
SCRIPT
-
IMAGE
-
FONT
-
MEDIA
Audio and video. -
XHR
fetch()andXMLHttpRequest. -
WORKER
A dedicated or shared worker's script. -
SERVICE_WORKER
A service worker's script. -
PING
navigator.sendBeacon, hyperlink auditing, CSP reports. -
FAVICON
-
PREFETCH
<link rel=prefetch>. -
OTHER
Anything else (<object>,<embed>, other subresources).
-
-
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
-