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
ConstructorsConstructorDescriptionApacheHttpRequest5(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, setUrlSourceMethods 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.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:
addHeaderin interfaceIHttpRequest
-
execute
- Specified by:
executein interfaceIHttpRequest- Throws:
IOException
-
getAllHeaders
- Specified by:
getAllHeadersin interfaceIHttpRequest
-
getRequestBodyFromStream
- Specified by:
getRequestBodyFromStreamin interfaceIHttpRequest- Throws:
IOException
-
getUri
- Specified by:
getUriin interfaceIHttpRequest
-
setUri
- Specified by:
setUriin interfaceIHttpRequest
-
getHttpVerbName
- Specified by:
getHttpVerbNamein interfaceIHttpRequest
-
removeHeaders
- Specified by:
removeHeadersin interfaceIHttpRequest
-