@ConfigurationProperties(value="spring.web") public class WebProperties extends Object
Configuration properties
for general web concerns.Modifier and Type | Class and Description |
---|---|
static class |
WebProperties.LocaleResolver |
static class |
WebProperties.Resources |
Constructor and Description |
---|
WebProperties() |
Modifier and Type | Method and Description |
---|---|
Locale |
getLocale() |
WebProperties.LocaleResolver |
getLocaleResolver() |
WebProperties.Resources |
getResources() |
void |
setLocale(Locale locale) |
void |
setLocaleResolver(WebProperties.LocaleResolver localeResolver) |
public Locale getLocale()
public void setLocale(Locale locale)
public WebProperties.LocaleResolver getLocaleResolver()
public void setLocaleResolver(WebProperties.LocaleResolver localeResolver)
public WebProperties.Resources getResources()