public class ApacheHttpResponse extends BaseHttpResponse implements ca.uhn.fhir.rest.client.api.IHttpResponse
HttpResponse| Constructor and Description |
|---|
ApacheHttpResponse(org.apache.http.HttpResponse theResponse,
ca.uhn.fhir.util.StopWatch theResponseStopWatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
bufferEntitity()
Deprecated.
|
void |
bufferEntity() |
void |
close() |
Reader |
createReader() |
Map<String,List<String>> |
getAllHeaders() |
List<String> |
getHeaders(String theName) |
String |
getMimeType() |
org.apache.http.HttpResponse |
getResponse() |
int |
getStatus() |
String |
getStatusInfo() |
InputStream |
readEntity() |
getRequestStopWatchpublic ApacheHttpResponse(org.apache.http.HttpResponse theResponse, ca.uhn.fhir.util.StopWatch theResponseStopWatch)
@Deprecated public void bufferEntitity() throws IOException
bufferEntitity in interface ca.uhn.fhir.rest.client.api.IHttpResponseIOExceptionpublic void bufferEntity() throws IOException
bufferEntity in interface ca.uhn.fhir.rest.client.api.IHttpResponseIOExceptionpublic void close()
close in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic Reader createReader() throws IOException
createReader in interface ca.uhn.fhir.rest.client.api.IHttpResponseIOExceptionpublic Map<String,List<String>> getAllHeaders()
getAllHeaders in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic List<String> getHeaders(String theName)
getHeaders in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic String getMimeType()
getMimeType in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic org.apache.http.HttpResponse getResponse()
getResponse in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic int getStatus()
getStatus in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic String getStatusInfo()
getStatusInfo in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic InputStream readEntity() throws IOException
readEntity in interface ca.uhn.fhir.rest.client.api.IHttpResponseIOExceptionCopyright © 2014–2019 University Health Network. All rights reserved.