WebProperties.Resources
accessed through WebProperties
and
getResources()
@Deprecated @ConfigurationProperties(prefix="spring.resources", ignoreUnknownFields=false) public class ResourceProperties extends WebProperties.Resources
Modifier and Type | Class and Description |
---|---|
static class |
ResourceProperties.Cache
Deprecated.
|
static class |
ResourceProperties.Chain
Deprecated.
|
static class |
ResourceProperties.Content
Deprecated.
|
static class |
ResourceProperties.Fixed
Deprecated.
|
static class |
ResourceProperties.Strategy
Deprecated.
|
Constructor and Description |
---|
ResourceProperties()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ResourceProperties.Cache |
getCache()
Deprecated.
|
ResourceProperties.Chain |
getChain()
Deprecated.
|
String[] |
getStaticLocations()
Deprecated.
|
boolean |
isAddMappings()
Deprecated.
|
hasBeenCustomized, setAddMappings, setStaticLocations
@DeprecatedConfigurationProperty(replacement="spring.web.resources.static-locations") public String[] getStaticLocations()
getStaticLocations
in class WebProperties.Resources
@DeprecatedConfigurationProperty(replacement="spring.web.resources.add-mappings") public boolean isAddMappings()
isAddMappings
in class WebProperties.Resources
public ResourceProperties.Chain getChain()
getChain
in class WebProperties.Resources
public ResourceProperties.Cache getCache()
getCache
in class WebProperties.Resources