public abstract class ForwardingClientHttpResponse
extends com.google.common.collect.ForwardingObject
implements org.springframework.http.client.ClientHttpResponse
| Constructor and Description |
|---|
ForwardingClientHttpResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract org.springframework.http.client.ClientHttpResponse |
delegate() |
InputStream |
getBody() |
org.springframework.http.HttpHeaders |
getHeaders() |
int |
getRawStatusCode() |
org.springframework.http.HttpStatus |
getStatusCode() |
String |
getStatusText() |
protected abstract org.springframework.http.client.ClientHttpResponse delegate()
delegate in class com.google.common.collect.ForwardingObjectpublic org.springframework.http.HttpStatus getStatusCode()
throws IOException
getStatusCode in interface org.springframework.http.client.ClientHttpResponseIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.springframework.http.client.ClientHttpResponsepublic InputStream getBody() throws IOException
getBody in interface org.springframework.http.HttpInputMessageIOExceptionpublic String getStatusText() throws IOException
getStatusText in interface org.springframework.http.client.ClientHttpResponseIOExceptionpublic org.springframework.http.HttpHeaders getHeaders()
getHeaders in interface org.springframework.http.HttpMessagepublic int getRawStatusCode()
throws IOException
getRawStatusCode in interface org.springframework.http.client.ClientHttpResponseIOExceptionCopyright © 2015 Zalando SE. All rights reserved.