View now returns Mono<Void> rather than Flux<DataBuffer> which aligns
more closely with the reactive HttpMessageConverter vs the Encoder.
The change was prompted by the upcoming implementation of a View that
delegates to an existing HttpMessageConverter e.g. for JSON, XML.
The resulting change also brings the reactive View closer in spirit to
the View from spring-webmvc which returns void.
@ -184,8 +183,7 @@ public class ViewResolutionResultHandler implements HandlerResultHandler, Ordere
@@ -184,8 +183,7 @@ public class ViewResolutionResultHandler implements HandlerResultHandler, Ordere
@ -194,10 +192,7 @@ public class ViewResolutionResultHandler implements HandlerResultHandler, Ordere
@@ -194,10 +192,7 @@ public class ViewResolutionResultHandler implements HandlerResultHandler, Ordere
@ -156,7 +157,7 @@ public class FreeMarkerView extends AbstractUrlBasedView {
@@ -156,7 +157,7 @@ public class FreeMarkerView extends AbstractUrlBasedView {
@ -170,12 +171,12 @@ public class FreeMarkerView extends AbstractUrlBasedView {
@@ -170,12 +171,12 @@ public class FreeMarkerView extends AbstractUrlBasedView {
}
catch(IOExceptionex){
Stringmessage="Could not load FreeMarker template for URL ["+getUrl()+"]";