public interface ClientHttpResponse extends ReactiveHttpInputMessage
Modifier and Type | Method and Description |
---|---|
MultiValueMap<String,ResponseCookie> |
getCookies()
Return a read-only map of response cookies received from the server.
|
default String |
getId()
Return an id that represents the underlying connection, if available,
or the request for the purpose of correlating log messages.
|
int |
getRawStatusCode()
Return the HTTP status code (potentially non-standard and not
resolvable through the
HttpStatus enum) as an integer. |
HttpStatus |
getStatusCode()
Return the HTTP status code as an
HttpStatus enum value. |
getBody
getHeaders
default String getId()
HttpStatus getStatusCode()
HttpStatus
enum value.null
)IllegalArgumentException
- in case of an unknown HTTP status codeHttpStatus.valueOf(int)
int getRawStatusCode()
HttpStatus
enum) as an integer.getStatusCode()
,
HttpStatus.resolve(int)
MultiValueMap<String,ResponseCookie> getCookies()