@Configuration @ConditionalOnProperty(value="spring.mvc.favicon.enabled", matchIfMissing=true) public static class WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration extends Object implements ResourceLoaderAware
Constructor and Description |
---|
FaviconConfiguration(ResourceProperties resourceProperties) |
Modifier and Type | Method and Description |
---|---|
SimpleUrlHandlerMapping |
faviconHandlerMapping() |
ResourceHttpRequestHandler |
faviconRequestHandler() |
void |
setResourceLoader(ResourceLoader resourceLoader) |
public FaviconConfiguration(ResourceProperties resourceProperties)
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
@Bean public SimpleUrlHandlerMapping faviconHandlerMapping()
@Bean public ResourceHttpRequestHandler faviconRequestHandler()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.