spring-framework / org.springframework.web.reactive.result.view.freemarker / FreeMarkerView / <init>

<init>

FreeMarkerView()

A View implementation that uses the FreeMarker template engine.

Depends on a single FreeMarkerConfig object such as FreeMarkerConfigurer being accessible in the application context. Alternatively set the FreeMarker configuration can be set directly on this class via #setConfiguration.

The url property is the location of the FreeMarker template relative to the FreeMarkerConfigurer's templateLoaderPath.

Note: Spring's FreeMarker support requires FreeMarker 2.3 or higher.

Author
Rossen Stoyanchev

Since
5.0