public class CseClientHttpResponse extends Object implements org.springframework.http.client.ClientHttpResponse
| Constructor and Description |
|---|
CseClientHttpResponse(io.servicecomb.swagger.invocation.Response response) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getBody() |
org.springframework.http.HttpHeaders |
getHeaders() |
int |
getRawStatusCode() |
Object |
getResult() |
org.springframework.http.HttpStatus |
getStatusCode() |
String |
getStatusText() |
public CseClientHttpResponse(io.servicecomb.swagger.invocation.Response response)
public Object getResult()
public InputStream getBody() throws IOException
getBody in interface org.springframework.http.HttpInputMessageIOExceptionpublic org.springframework.http.HttpHeaders getHeaders()
getHeaders in interface org.springframework.http.HttpMessagepublic org.springframework.http.HttpStatus getStatusCode()
throws IOException
getStatusCode in interface org.springframework.http.client.ClientHttpResponseIOExceptionpublic int getRawStatusCode()
throws IOException
getRawStatusCode in interface org.springframework.http.client.ClientHttpResponseIOExceptionpublic String getStatusText() throws IOException
getStatusText in interface org.springframework.http.client.ClientHttpResponseIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.springframework.http.client.ClientHttpResponseCopyright © 2017. All rights reserved.