public class BufferingClientHttpResponse
extends java.lang.Object
implements org.springframework.http.client.ClientHttpResponse
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.InputStream |
getBody() |
org.springframework.http.HttpHeaders |
getHeaders() |
int |
getRawStatusCode() |
org.springframework.http.HttpStatus |
getStatusCode() |
java.lang.String |
getStatusText() |
public org.springframework.http.HttpStatus getStatusCode()
throws java.io.IOException
getStatusCode in interface org.springframework.http.client.ClientHttpResponsejava.io.IOExceptionpublic int getRawStatusCode()
throws java.io.IOException
getRawStatusCode in interface org.springframework.http.client.ClientHttpResponsejava.io.IOExceptionpublic java.lang.String getStatusText()
throws java.io.IOException
getStatusText in interface org.springframework.http.client.ClientHttpResponsejava.io.IOExceptionpublic org.springframework.http.HttpHeaders getHeaders()
getHeaders in interface org.springframework.http.HttpMessagepublic java.io.InputStream getBody()
throws java.io.IOException
getBody in interface org.springframework.http.HttpInputMessagejava.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface org.springframework.http.client.ClientHttpResponse