Fix API change in latest snapshot

pull/8650/merge
Stephane Nicoll 8 years ago
parent ad8b671b3c
commit 134e93f3fd

@ -115,10 +115,10 @@ public class HttpHandlerAutoConfiguration {
.reduce(RouterFunction::and).get(); .reduce(RouterFunction::and).get();
HandlerStrategies.Builder strategiesBuilder = HandlerStrategies.builder(); HandlerStrategies.Builder strategiesBuilder = HandlerStrategies.builder();
if (this.messageReaders != null) { if (this.messageReaders != null) {
this.messageReaders.forEach(strategiesBuilder::messageReader); this.messageReaders.forEach(strategiesBuilder::customMessageReader);
} }
if (this.messageWriters != null) { if (this.messageWriters != null) {
this.messageWriters.forEach(strategiesBuilder::messageWriter); this.messageWriters.forEach(strategiesBuilder::customMessageWriter);
} }
if (this.viewResolvers != null) { if (this.viewResolvers != null) {
this.viewResolvers.forEach(strategiesBuilder::viewResolver); this.viewResolvers.forEach(strategiesBuilder::viewResolver);

Loading…
Cancel
Save