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.
|
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
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()