@Configuration(proxyBeanMethods=false) @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.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconRequestHandler handler) |
org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconRequestHandler |
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(org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconRequestHandler handler)
@Bean public org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconRequestHandler faviconRequestHandler()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.