public interface ClientHttpResponse extends ReactiveHttpInputMessage
Modifier and Type | Method and Description |
---|---|
MultiValueMap<java.lang.String,ResponseCookie> |
getCookies()
Return a read-only map of response cookies received from the server.
|
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 of the response.
|
getBody
getHeaders
HttpStatus getStatusCode()
java.lang.IllegalArgumentException
- in case of an unknown HTTP status codeHttpStatus.valueOf(int)
int getRawStatusCode()
HttpStatus
enum) as an integer.getStatusCode()
,
HttpStatus.resolve(int)
MultiValueMap<java.lang.String,ResponseCookie> getCookies()