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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.client.ClientHttpResponse
close, getRawStatusCode, getStatusTextMethods inherited from interface org.springframework.http.HttpInputMessage
getBodyMethods inherited from interface org.springframework.http.HttpMessage
getHeaders
-
Constructor Details
-
AbstractClientHttpResponse
public AbstractClientHttpResponse()Deprecated.
-
-
Method Details
-
getStatusCode
Deprecated.Description copied from interface:ClientHttpResponseGet the HTTP status code as anHttpStatusCode.- Specified by:
getStatusCodein interfaceClientHttpResponse- Returns:
- the HTTP status as
HttpStatusCodevalue (nevernull) - Throws:
IOException- in case of I/O errors
-