Copyright© 2008-2026 Sitevision AB, all rights reserved.
@Requireable(value="FetchPriorityMode") public enum FetchPriorityMode extends Enum<FetchPriorityMode>
fetchpriority attribute.
The attribute should be used sparingly, as excessive or incorrect prioritization can degrade performance. See MDN Web Docs for more information.
| Enum Constant and Description |
|---|
AUTO
Will render a
fetchpriority="auto" attribute. |
HIGH
Will render a
fetchpriority="high" attribute. |
LOW
Will render a
fetchpriority="low" attribute. |
OFF
Will not render any
fetchpriority attribute at all. |
| Modifier and Type | Method and Description |
|---|---|
static FetchPriorityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FetchPriorityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Requireable(value="FetchPriorityMode.OFF") public static final FetchPriorityMode OFF
fetchpriority attribute at all.@Requireable(value="FetchPriorityMode.HIGH") public static final FetchPriorityMode HIGH
fetchpriority="high" attribute.
The high value signals a high-priority fetch relative to other resources with the same destination.
@Requireable(value="FetchPriorityMode.LOW") public static final FetchPriorityMode LOW
fetchpriority="low" attribute.
The low value signals a low-priority fetch relative to other resources with the same destination.
@Requireable(value="FetchPriorityMode.AUTO") public static final FetchPriorityMode AUTO
fetchpriority="auto" attribute.
The auto value signals automatic determination of fetch priority relative to other resources with the same destination.
public static FetchPriorityMode[] values()
for (FetchPriorityMode c : FetchPriorityMode.values()) System.out.println(c);
public static FetchPriorityMode 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 nullSitevision - Content Management Made Easy
Sitevision is an advanced Java enterprise portal product that implements Java Content Repository (JSR 283).
Copyright© 2008-2026 Sitevision AB, all rights reserved.