@Configuration @ConditionalOnResource(resources="classpath:/templates/coffeenet/_layout.html") public static class CoffeeNetNavigationAutoConfiguration.CoffeeNetWebServerSideRenderingConfiguration extends Object
CoffeeNetNavigationInterceptor via
CoffeeNetWebMvcConfigurerAdapter when the templates for server side rendering of the navigation bar are
provided.| Constructor and Description |
|---|
CoffeeNetWebServerSideRenderingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CoffeeNetNavigationInterceptor |
coffeeNetInterceptor(CoffeeNetNavigationService coffeeNetNavigationService) |
CoffeeNetWebMvcConfigurerAdapter |
coffeeNetWebMvcConfigurerAdapter(CoffeeNetNavigationInterceptor coffeeNetNavigationInterceptor) |
public CoffeeNetWebServerSideRenderingConfiguration()
@Bean @Autowired @ConditionalOnMissingBean(value=CoffeeNetNavigationInterceptor.class) public CoffeeNetNavigationInterceptor coffeeNetInterceptor(CoffeeNetNavigationService coffeeNetNavigationService)
@Bean @Autowired @ConditionalOnMissingBean(value=CoffeeNetWebMvcConfigurerAdapter.class) public CoffeeNetWebMvcConfigurerAdapter coffeeNetWebMvcConfigurerAdapter(CoffeeNetNavigationInterceptor coffeeNetNavigationInterceptor)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.