Fix HttpHandlerAutoConfiguration

Fix HttpHandlerAutoConfiguration following upstream Spring Framework
changes.
pull/5852/merge
Phillip Webb 8 years ago
parent 4f7e5efac8
commit b1f679b1c5

@ -125,10 +125,7 @@ public class HttpHandlerAutoConfiguration {
strategiesBuilder.build());
WebHttpHandlerBuilder builder = WebHttpHandlerBuilder.webHandler(webHandler)
.sessionManager(this.webSessionManager);
if (this.webFilters != null) {
builder.filters(
this.webFilters.toArray(new WebFilter[this.webFilters.size()]));
}
builder.filters(this.webFilters);
return builder.build();
}

Loading…
Cancel
Save