@Test public void shouldGetRawStatus() { given(mockDelegate.statusCode()).willReturn(200); VertxClientHttpResponse response = new VertxClientHttpResponse(mockDelegate, Flux.empty()); int code = response.getRawStatusCode(); assertThat(code).isEqualTo(200); }
@Override public int getRawStatusCode() { return delegate.statusCode(); }
VertxClientHttpResponse implements ClientHttpResponse { @Override public int getRawStatusCode() { return delegate.statusCode(); } }
VertxClientHttpResponse implements ClientHttpResponse { @Override public int getRawStatusCode() { return delegate.statusCode(); } VertxClientHttpResponse(HttpClientResponse delegate, Flux<DataBuffer> body); }
VertxClientHttpResponse implements ClientHttpResponse { @Override public int getRawStatusCode() { return delegate.statusCode(); } VertxClientHttpResponse(HttpClientResponse delegate, Flux<DataBuffer> body); @Override int getRawStatusCode(); @Override HttpStatus getStatusCode(); @Override Flux<DataBuffer> getBody(); @Override HttpHeaders getHeaders(); @Override MultiValueMap<String, ResponseCookie> getCookies(); }
VertxClientHttpResponse implements ClientHttpResponse { @Override public int getRawStatusCode() { return delegate.statusCode(); } VertxClientHttpResponse(HttpClientResponse delegate, Flux<DataBuffer> body); @Override int getRawStatusCode(); @Override HttpStatus getStatusCode(); @Override Flux<DataBuffer> getBody(); @Override HttpHeaders getHeaders(); @Override MultiValueMap<String, ResponseCookie> getCookies();  }