public class JaxRsHttpResponse extends ca.uhn.fhir.rest.client.impl.BaseHttpResponse implements ca.uhn.fhir.rest.client.api.IHttpResponse
Response| Constructor and Description |
|---|
JaxRsHttpResponse(javax.ws.rs.core.Response theResponse,
ca.uhn.fhir.util.StopWatch theResponseStopWatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
bufferEntitity() |
void |
bufferEntity() |
void |
close() |
Reader |
createReader() |
Map<String,List<String>> |
getAllHeaders() |
List<String> |
getHeaders(String theName) |
String |
getMimeType() |
javax.ws.rs.core.Response |
getResponse() |
int |
getStatus() |
String |
getStatusInfo() |
InputStream |
readEntity() |
public JaxRsHttpResponse(javax.ws.rs.core.Response theResponse, ca.uhn.fhir.util.StopWatch theResponseStopWatch)
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()
createReader in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic Map<String,List<String>> getAllHeaders()
getAllHeaders in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic String getMimeType()
getMimeType in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic javax.ws.rs.core.Response 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()
readEntity in interface ca.uhn.fhir.rest.client.api.IHttpResponsepublic List<String> getHeaders(String theName)
getHeaders in interface ca.uhn.fhir.rest.client.api.IHttpResponseCopyright © 2014–2019 University Health Network. All rights reserved.