public class ReactorClientHttpResponse extends java.lang.Object implements ClientHttpResponse
ClientHttpResponse implementation for the Reactor-Netty HTTP client.reactor.ipc.netty.http.client.HttpClient| Modifier and Type | Field and Description |
|---|---|
private NettyDataBufferFactory |
dataBufferFactory |
private HttpClientResponse |
response |
| Constructor and Description |
|---|
ReactorClientHttpResponse(HttpClientResponse response) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
getBody()
Return the body of the message as a
Publisher. |
MultiValueMap<java.lang.String,ResponseCookie> |
getCookies()
Return a read-only map of response cookies received from the server.
|
HttpHeaders |
getHeaders()
Return the headers of this message.
|
HttpStatus |
getStatusCode() |
java.lang.String |
toString() |
private final NettyDataBufferFactory dataBufferFactory
private final HttpClientResponse response
public ReactorClientHttpResponse(HttpClientResponse response)
public <any> getBody()
ReactiveHttpInputMessagePublisher.getBody in interface ReactiveHttpInputMessagepublic HttpHeaders getHeaders()
HttpMessagegetHeaders in interface HttpMessagenull)public HttpStatus getStatusCode()
getStatusCode in interface ClientHttpResponseHttpStatus enum valuepublic MultiValueMap<java.lang.String,ResponseCookie> getCookies()
ClientHttpResponsegetCookies in interface ClientHttpResponsepublic java.lang.String toString()
toString in class java.lang.Object