Class AbstractClientHttpResponse
java.lang.Object
org.springframework.http.client.reactive.AbstractClientHttpResponse
- All Implemented Interfaces:
- ClientHttpResponse, HttpMessage, ReactiveHttpInputMessage
Base class for 
ClientHttpResponse implementations.- Since:
- 5.3.32
- Author:
- Arjen Poutsma
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractClientHttpResponse(HttpStatusCode statusCode, HttpHeaders headers, MultiValueMap<String, ResponseCookie> cookies, reactor.core.publisher.Flux<DataBuffer> body) 
- 
Method SummaryModifier and TypeMethodDescriptionreactor.core.publisher.Flux<DataBuffer> getBody()Return the body of the message as aPublisher.Return a read-only map of response cookies received from the server.Return the headers of this message.Return the HTTP status code as anHttpStatusCode.Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClientHttpResponsegetId
- 
Constructor Details- 
AbstractClientHttpResponseprotected AbstractClientHttpResponse(HttpStatusCode statusCode, HttpHeaders headers, MultiValueMap<String, ResponseCookie> cookies, reactor.core.publisher.Flux<DataBuffer> body) 
 
- 
- 
Method Details- 
getStatusCodeDescription copied from interface:ClientHttpResponseReturn the HTTP status code as anHttpStatusCode.- Specified by:
- getStatusCodein interface- ClientHttpResponse
- Returns:
- the HTTP status as HttpStatusCodevalue (nevernull)
 
- 
getHeadersDescription copied from interface:HttpMessageReturn the headers of this message.- Specified by:
- getHeadersin interface- HttpMessage
- Returns:
- a corresponding HttpHeaders object (never null)
 
- 
getCookiesDescription copied from interface:ClientHttpResponseReturn a read-only map of response cookies received from the server.- Specified by:
- getCookiesin interface- ClientHttpResponse
 
- 
getBodyDescription copied from interface:ReactiveHttpInputMessageReturn the body of the message as aPublisher.- Specified by:
- getBodyin interface- ReactiveHttpInputMessage
- Returns:
- the body content publisher
 
 
-