public class BufferingClientHttpResponse extends Object implements ClientHttpResponse
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getBody() |
HttpHeaders |
getHeaders() |
int |
getRawStatusCode() |
HttpStatus |
getStatusCode() |
String |
getStatusText() |
public HttpStatus getStatusCode() throws IOException
getStatusCode in interface ClientHttpResponseIOExceptionpublic int getRawStatusCode()
throws IOException
getRawStatusCode in interface ClientHttpResponseIOExceptionpublic String getStatusText() throws IOException
getStatusText in interface ClientHttpResponseIOExceptionpublic HttpHeaders getHeaders()
getHeaders in interface HttpMessagepublic InputStream getBody() throws IOException
getBody in interface HttpInputMessageIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface ClientHttpResponse