Sync reactor-netty client response update and uncomment in tests

This commit is contained in:
Stephane Maldini 2016-12-20 14:37:11 +00:00
parent 97ea22cb4a
commit 241d5f7a3b
3 changed files with 2 additions and 3 deletions

View File

@ -65,7 +65,6 @@ public class ReactorClientHttpConnector implements ClientHttpConnector {
uri.toString(),
httpClientRequest -> requestCallback
.apply(new ReactorClientHttpRequest(method, uri, httpClientRequest)))
.otherwise(HttpClientException.class, exc -> Mono.just(exc.getResponse()))
.map(ReactorClientHttpResponse::new);
}

View File

@ -53,7 +53,7 @@ public class ReactorClientHttpRequest extends AbstractClientHttpRequest {
HttpClientRequest httpRequest) {
this.httpMethod = httpMethod;
this.uri = uri;
this.httpRequest = httpRequest;
this.httpRequest = httpRequest.failOnClientError(false);
this.bufferFactory = new NettyDataBufferFactory(httpRequest.alloc());
}

View File

@ -47,7 +47,7 @@ public abstract class AbstractHttpHandlerIntegrationTests {
return new Object[][] {
{new JettyHttpServer()},
{new RxNettyHttpServer()},
//{new ReactorHttpServer()},
{new ReactorHttpServer()},
{new TomcatHttpServer(base.getAbsolutePath())},
{new UndertowHttpServer()}
};