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 ClientHttpResponse
IOException
public int getRawStatusCode() throws IOException
getRawStatusCode
in interface ClientHttpResponse
IOException
public String getStatusText() throws IOException
getStatusText
in interface ClientHttpResponse
IOException
public HttpHeaders getHeaders()
getHeaders
in interface HttpMessage
public InputStream getBody() throws IOException
getBody
in interface HttpInputMessage
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface ClientHttpResponse