Class WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ResourceLoaderAware
- Enclosing class:
- WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter
@Configuration @ConditionalOnProperty(value="spring.mvc.favicon.enabled", matchIfMissing=true) public static class WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration extends Object implements org.springframework.context.ResourceLoaderAware
Constructor Summary
Constructors Constructor Description FaviconConfiguration(ResourceProperties resourceProperties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
faviconHandlerMapping()
org.springframework.web.servlet.resource.ResourceHttpRequestHandler
faviconRequestHandler()
void
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
Constructor Detail
FaviconConfiguration
public FaviconConfiguration(ResourceProperties resourceProperties)
Method Detail
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoader
in interfaceorg.springframework.context.ResourceLoaderAware
faviconHandlerMapping
@Bean public org.springframework.web.servlet.handler.SimpleUrlHandlerMapping faviconHandlerMapping()
faviconRequestHandler
@Bean public org.springframework.web.servlet.resource.ResourceHttpRequestHandler faviconRequestHandler()