Package ca.uhn.fhir.rest.client.apache
Class ApacheHttpClient
java.lang.Object
ca.uhn.fhir.rest.client.apache.BaseHttpClient
ca.uhn.fhir.rest.client.apache.ApacheHttpClient
- All Implemented Interfaces:
ca.uhn.fhir.rest.client.api.IHttpClient
public class ApacheHttpClient
extends BaseHttpClient
implements ca.uhn.fhir.rest.client.api.IHttpClient
A Http Client based on Apache. This is an adapter around the class
HttpClient
- Author:
- Peter Van Houte | peter.vanhoute@agfa.com | Agfa Healthcare
-
Field Summary
Fields inherited from class ca.uhn.fhir.rest.client.apache.BaseHttpClient
myRequestType, myUrl
-
Constructor Summary
ConstructorDescriptionApacheHttpClient
(org.apache.http.client.HttpClient theClient, StringBuilder theUrl, Map<String, List<String>> theIfNoneExistParams, String theIfNoneExistString, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType, List<ca.uhn.fhir.rest.client.api.Header> theHeaders) -
Method Summary
Modifier and TypeMethodDescriptionprotected ca.uhn.fhir.rest.client.api.IHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest
createHttpRequest
(byte[] content) protected ca.uhn.fhir.rest.client.api.IHttpRequest
createHttpRequest
(String theContents) protected ca.uhn.fhir.rest.client.api.IHttpRequest
createHttpRequest
(Map<String, List<String>> theParams) Methods inherited from class ca.uhn.fhir.rest.client.apache.BaseHttpClient
addHeadersToRequest, createBinaryRequest, createByteRequest, createGetRequest, createParamRequest
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.IHttpClient
createBinaryRequest, createByteRequest, createGetRequest, createParamRequest
-
Constructor Details
-
ApacheHttpClient
public ApacheHttpClient(org.apache.http.client.HttpClient theClient, StringBuilder theUrl, Map<String, List<String>> theIfNoneExistParams, String theIfNoneExistString, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType, List<ca.uhn.fhir.rest.client.api.Header> theHeaders)
-
-
Method Details
-
createHttpRequest
- Specified by:
createHttpRequest
in classBaseHttpClient
-
createHttpRequest
- Specified by:
createHttpRequest
in classBaseHttpClient
-
createHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(Map<String, List<String>> theParams) - Specified by:
createHttpRequest
in classBaseHttpClient
-
createHttpRequest
- Specified by:
createHttpRequest
in classBaseHttpClient
-