Interface ClientHttpResponse
- All Superinterfaces:
- HttpMessage,- ReactiveHttpInputMessage
- All Known Subinterfaces:
- MockServerClientHttpResponse
- All Known Implementing Classes:
- ClientHttpResponseDecorator,- MockClientHttpResponse
Represents a client-side reactive HTTP response.
- Since:
- 5.0
- Author:
- Arjen Poutsma, Brian Clozel
- 
Method SummaryModifier and TypeMethodDescriptionReturn a read-only map of response cookies received from the server.default StringgetId()Return an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages.Return the HTTP status code as anHttpStatusCode.Methods inherited from interface org.springframework.http.HttpMessagegetHeadersMethods inherited from interface org.springframework.http.ReactiveHttpInputMessagegetBody
- 
Method Details- 
getIdReturn an id that represents the underlying connection, if available, or the request for the purpose of correlating log messages.- Since:
- 5.3.5
 
- 
getStatusCodeHttpStatusCode getStatusCode()Return the HTTP status code as anHttpStatusCode.- Returns:
- the HTTP status as HttpStatusCodevalue (nevernull)
 
- 
getCookiesMultiValueMap<String,ResponseCookie> getCookies()Return a read-only map of response cookies received from the server.
 
-