Search in sources :

Example 1 with WebHttpHandlerBuilder

use of org.springframework.web.server.adapter.WebHttpHandlerBuilder in project spring-framework by spring-projects.

the class AbstractMockServerSpec method configureClient.

@Override
public WebTestClient.Builder configureClient() {
    WebHttpHandlerBuilder builder = initHttpHandlerBuilder();
    filtersInReverse().forEach(builder::prependFilter);
    return new DefaultWebTestClientBuilder(builder.build(), this.exchangeMutatorFilter);
}
Also used : WebHttpHandlerBuilder(org.springframework.web.server.adapter.WebHttpHandlerBuilder)

Aggregations

WebHttpHandlerBuilder (org.springframework.web.server.adapter.WebHttpHandlerBuilder)1