public static enum StaticResourceRequest.Location extends Enum<StaticResourceRequest.Location>
| 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 |
|---|---|
static StaticResourceRequest.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StaticResourceRequest.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StaticResourceRequest.Location CSS
"/css".public static final StaticResourceRequest.Location JAVA_SCRIPT
"/js".public static final StaticResourceRequest.Location IMAGES
"/images".public static final StaticResourceRequest.Location WEB_JARS
"/webjars".public static final StaticResourceRequest.Location FAVICON
"favicon.ico" resource.public static StaticResourceRequest.Location[] values()
for (StaticResourceRequest.Location c : StaticResourceRequest.Location.values()) System.out.println(c);
public static StaticResourceRequest.Location 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 © 2017 Pivotal Software, Inc.. All rights reserved.