Java Code Examples for org.springframework.web.reactive.config.ViewResolverRegistry#viewResolver()

The following examples show how to use org.springframework.web.reactive.config.ViewResolverRegistry#viewResolver() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LocaleContextResolverIntegrationTests.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@Override
protected void configureViewResolvers(ViewResolverRegistry registry) {
	registry.viewResolver((viewName, locale) -> Mono.just(new DummyView(locale)));
}
 
Example 2
Source File: LocaleContextResolverIntegrationTests.java    From java-technology-stack with MIT License 4 votes vote down vote up
@Override
protected void configureViewResolvers(ViewResolverRegistry registry) {
	registry.viewResolver((viewName, locale) -> Mono.just(new DummyView(locale)));
}
 
Example 3
Source File: WebfluxConfig.java    From Hands-On-Reactive-Programming-with-Reactor with MIT License 4 votes vote down vote up
@Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
     registry.scriptTemplate();
  //   registry.freeMarker();
     registry.viewResolver(thymeleafChunkedAndDataDrivenViewResolver());
}
 
Example 4
Source File: WebConfig.java    From spring-reactive-sample with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    registry.viewResolver(thymeleafChunkedAndDataDrivenViewResolver());
}
 
Example 5
Source File: WebConfig.java    From spring-reactive-sample with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    registry.viewResolver(mustacheViewResolver());
}
 
Example 6
Source File: WebConfig.java    From spring-reactive-sample with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    registry.viewResolver(thymeleafChunkedAndDataDrivenViewResolver());
}
 
Example 7
Source File: WebConfig.java    From spring-reactive-sample with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    registry.viewResolver(thymeleafChunkedAndDataDrivenViewResolver());
}
 
Example 8
Source File: WebConfig.java    From spring-reactive-sample with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    registry.viewResolver(thymeleafChunkedAndDataDrivenViewResolver());
}
 
Example 9
Source File: App.java    From FrameworkBenchmarks with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    registry.viewResolver(mustacheViewResolver);
}