Class ApacheHttpRequest5
java.lang.Object
ca.uhn.fhir.rest.client.api.BaseHttpRequest
org.openehealth.ipf.commons.ihe.fhir.ApacheHttpRequest5
- All Implemented Interfaces:
IHttpRequest
-
Constructor Summary
ConstructorDescriptionApacheHttpRequest5
(org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, org.apache.hc.core5.http.ClassicHttpRequest request) -
Method Summary
Methods inherited from class ca.uhn.fhir.rest.client.api.BaseHttpRequest
getUrlSource, setUrlSource
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.IHttpRequest
getUrlSource, setUrlSource
-
Constructor Details
-
ApacheHttpRequest5
public ApacheHttpRequest5(org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, org.apache.hc.core5.http.ClassicHttpRequest request)
-
-
Method Details
-
addHeader
- Specified by:
addHeader
in interfaceIHttpRequest
-
execute
- Specified by:
execute
in interfaceIHttpRequest
- Throws:
IOException
-
getAllHeaders
- Specified by:
getAllHeaders
in interfaceIHttpRequest
-
getRequestBodyFromStream
- Specified by:
getRequestBodyFromStream
in interfaceIHttpRequest
- Throws:
IOException
-
getUri
- Specified by:
getUri
in interfaceIHttpRequest
-
setUri
- Specified by:
setUri
in interfaceIHttpRequest
-
getHttpVerbName
- Specified by:
getHttpVerbName
in interfaceIHttpRequest
-
removeHeaders
- Specified by:
removeHeaders
in interfaceIHttpRequest
-