@ConfigurationProperties(prefix="spring.resources",
ignoreUnknownFields=false)
public class ResourceProperties
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceProperties.Cache
Cache configuration.
|
static class |
ResourceProperties.Chain
Configuration for the Spring Resource Handling chain.
|
static class |
ResourceProperties.Content
Version Strategy based on content hashing.
|
static class |
ResourceProperties.Fixed
Version Strategy based on a fixed version string.
|
static class |
ResourceProperties.Strategy
Strategies for extracting and embedding a resource version in its URL path.
|
| Constructor and Description |
|---|
ResourceProperties() |
| Modifier and Type | Method and Description |
|---|---|
ResourceProperties.Cache |
getCache() |
ResourceProperties.Chain |
getChain() |
java.lang.String[] |
getStaticLocations() |
boolean |
isAddMappings() |
void |
setAddMappings(boolean addMappings) |
void |
setStaticLocations(java.lang.String[] staticLocations) |
public java.lang.String[] getStaticLocations()
public void setStaticLocations(java.lang.String[] staticLocations)
public boolean isAddMappings()
public void setAddMappings(boolean addMappings)
public ResourceProperties.Chain getChain()
public ResourceProperties.Cache getCache()