
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
ConstructorsConstructorDescriptionJaxRsHttpResponse(jakarta.ws.rs.core.Response theResponse, ca.uhn.fhir.util.StopWatch theResponseStopWatch) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()getHeaders(String theName) jakarta.ws.rs.core.ResponseintMethods inherited from class ca.uhn.fhir.rest.client.impl.BaseHttpResponse
getRequestStopWatchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
bufferEntityin interfaceca.uhn.fhir.rest.client.api.IHttpResponse- Throws:
IOException
-
close
- Specified by:
closein interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
createReader
- Specified by:
createReaderin interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getAllHeaders
- Specified by:
getAllHeadersin interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getMimeType
- Specified by:
getMimeTypein interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getResponse
- Specified by:
getResponsein interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getStatus
- Specified by:
getStatusin interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getStatusInfo
- Specified by:
getStatusInfoin interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
readEntity
- Specified by:
readEntityin interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-
getHeaders
- Specified by:
getHeadersin interfaceca.uhn.fhir.rest.client.api.IHttpResponse
-