org.springframework.http.client
Class AbstractClientHttpResponse
java.lang.Object
org.springframework.http.client.AbstractClientHttpResponse
- All Implemented Interfaces:
- ClientHttpResponse, HttpInputMessage, HttpMessage
public abstract class AbstractClientHttpResponse
- extends Object
- implements ClientHttpResponse
Abstract base for ClientHttpResponse
.
- Since:
- 3.1.1
- Author:
- Arjen Poutsma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractClientHttpResponse
public AbstractClientHttpResponse()
getStatusCode
public HttpStatus getStatusCode()
throws IOException
- Description copied from interface:
ClientHttpResponse
- Return the HTTP status code of the response.
- Specified by:
getStatusCode
in interface ClientHttpResponse
- Returns:
- the HTTP status as an HttpStatus enum value
- Throws:
IOException
- in case of I/O errors