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",
forRemoval=true)
public abstract class AbstractClientHttpResponse
extends Object
implements ClientHttpResponse
Deprecated, for removal: This API element is subject to removal in a future version.
as of 6.0, with no direct replacement; scheduled for removal in 6.2
Abstract base for
ClientHttpResponse
.- Since:
- 3.1.1
- Author:
- Arjen Poutsma
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Get the HTTP status code as anHttpStatusCode
.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, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getStatusCode
Deprecated, for removal: This API element is subject to removal in a future version.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
-