类 WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,org.springframework.context.ResourceLoaderAware
@Configuration @ConditionalOnProperty(value="spring.mvc.favicon.enabled", matchIfMissing=true) public static class WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration extends Object implements org.springframework.context.ResourceLoaderAware
构造器概要
构造器 构造器 说明 FaviconConfiguration(ResourceProperties resourceProperties)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
faviconHandlerMapping()
org.springframework.web.servlet.resource.ResourceHttpRequestHandler
faviconRequestHandler()
void
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
构造器详细资料
FaviconConfiguration
public FaviconConfiguration(ResourceProperties resourceProperties)
方法详细资料
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- 指定者:
setResourceLoader
在接口中org.springframework.context.ResourceLoaderAware
faviconHandlerMapping
@Bean public org.springframework.web.servlet.handler.SimpleUrlHandlerMapping faviconHandlerMapping()
faviconRequestHandler
@Bean public org.springframework.web.servlet.resource.ResourceHttpRequestHandler faviconRequestHandler()