public enum StaticResourceLocation extends java.lang.Enum<StaticResourceLocation>
| Enum Constant and Description |
|---|
CSS
Resources under
"/css". |
FAVICON
The
"favicon.ico" resource. |
IMAGES
Resources under
"/images". |
JAVA_SCRIPT
Resources under
"/js". |
WEB_JARS
Resources under
"/webjars". |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<java.lang.String> |
getPatterns() |
static StaticResourceLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StaticResourceLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StaticResourceLocation CSS
"/css".public static final StaticResourceLocation JAVA_SCRIPT
"/js".public static final StaticResourceLocation IMAGES
"/images".public static final StaticResourceLocation WEB_JARS
"/webjars".public static final StaticResourceLocation FAVICON
"favicon.ico" resource.public static StaticResourceLocation[] values()
for (StaticResourceLocation c : StaticResourceLocation.values()) System.out.println(c);
public static StaticResourceLocation 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.util.stream.Stream<java.lang.String> getPatterns()