public abstract class AbstractClientHttpResponse extends Object implements ClientHttpResponse
ClientHttpResponse
.Constructor and Description |
---|
AbstractClientHttpResponse() |
Modifier and Type | Method and Description |
---|---|
HttpStatus |
getStatusCode()
Return the HTTP status code of the response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getRawStatusCode, getStatusText
getBody
getHeaders
public HttpStatus getStatusCode() throws IOException
ClientHttpResponse
getStatusCode
in interface ClientHttpResponse
IOException
- in case of I/O errorsHttpStatus.valueOf(int)