@ConfigurationProperties(prefix="spring.resources", ignoreUnknownFields=false) public class ResourceProperties extends 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() |
String[] |
getStaticLocations() |
boolean |
isAddMappings() |
void |
setAddMappings(boolean addMappings) |
void |
setStaticLocations(String[] staticLocations) |
public String[] getStaticLocations()
public void setStaticLocations(String[] staticLocations)
public boolean isAddMappings()
public void setAddMappings(boolean addMappings)
public ResourceProperties.Chain getChain()
public ResourceProperties.Cache getCache()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.