Package org.springframework.http.client
Class AbstractClientHttpResponse
java.lang.Object
org.springframework.http.client.AbstractClientHttpResponse
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ClientHttpResponse
,HttpInputMessage
,HttpMessage
@Deprecated(since="6.0")
public abstract class AbstractClientHttpResponse
extends Object
implements ClientHttpResponse
Deprecated.
as of 6.0, with no direct replacement
Abstract base for
ClientHttpResponse
.- Since:
- 3.1.1
- Author:
- Arjen Poutsma
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.http.client.ClientHttpResponse
close, getRawStatusCode, getStatusText
Methods inherited from interface org.springframework.http.HttpInputMessage
getBody
Methods inherited from interface org.springframework.http.HttpMessage
getHeaders
-
Constructor Details
-
AbstractClientHttpResponse
public AbstractClientHttpResponse()Deprecated.
-
-
Method Details
-
getStatusCode
Deprecated.Description copied from interface:ClientHttpResponse
Get the HTTP status code as anHttpStatusCode
.- Specified by:
getStatusCode
in interfaceClientHttpResponse
- Returns:
- the HTTP status as
HttpStatusCode
value (nevernull
) - Throws:
IOException
- in case of I/O errors
-