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