Package ca.uhn.fhir.jaxrs.client
Class JaxRsHttpResponse
java.lang.Object
ca.uhn.fhir.rest.client.impl.BaseHttpResponse
ca.uhn.fhir.jaxrs.client.JaxRsHttpResponse
- All Implemented Interfaces:
ca.uhn.fhir.rest.client.api.IHttpResponse
public class JaxRsHttpResponse
extends ca.uhn.fhir.rest.client.impl.BaseHttpResponse
implements ca.uhn.fhir.rest.client.api.IHttpResponse
A Http Response based on JaxRs. This is an adapter around the class
Response
- Author:
- Peter Van Houte | peter.vanhoute@agfa.com | Agfa Healthcare
-
Constructor Summary
ConstructorDescriptionJaxRsHttpResponse
(jakarta.ws.rs.core.Response theResponse, ca.uhn.fhir.util.StopWatch theResponseStopWatch) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
getHeaders
(String theName) jakarta.ws.rs.core.Response
int
Methods inherited from class ca.uhn.fhir.rest.client.impl.BaseHttpResponse
getRequestStopWatch
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.rest.client.api.IHttpResponse
getRequestStopWatch
-
Constructor Details
-
JaxRsHttpResponse
public JaxRsHttpResponse(jakarta.ws.rs.core.Response theResponse, ca.uhn.fhir.util.StopWatch theResponseStopWatch)
-
-
Method Details
-
bufferEntity
- Specified by:
bufferEntity
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
- Throws:
IOException
-
close
- Specified by:
close
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
createReader
- Specified by:
createReader
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getAllHeaders
- Specified by:
getAllHeaders
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getMimeType
- Specified by:
getMimeType
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getResponse
- Specified by:
getResponse
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getStatus
- Specified by:
getStatus
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getStatusInfo
- Specified by:
getStatusInfo
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
readEntity
- Specified by:
readEntity
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getHeaders
- Specified by:
getHeaders
in interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-