
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
ConstructorsConstructorDescriptionApacheHttpClient(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.IHttpRequestprotected ca.uhn.fhir.rest.client.api.IHttpRequestcreateHttpRequest(byte[] content) protected ca.uhn.fhir.rest.client.api.IHttpRequestcreateHttpRequest(String theContents) protected ca.uhn.fhir.rest.client.api.IHttpRequestcreateHttpRequest(Map<String, List<String>> theParams) Methods inherited from class ca.uhn.fhir.rest.client.apache.BaseHttpClient
addHeadersToRequest, createBinaryRequest, createByteRequest, createGetRequest, createParamRequestMethods 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.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:
createHttpRequestin classBaseHttpClient
-
createHttpRequest
- Specified by:
createHttpRequestin classBaseHttpClient
-
createHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(Map<String, List<String>> theParams) - Specified by:
createHttpRequestin classBaseHttpClient
-
createHttpRequest
- Specified by:
createHttpRequestin classBaseHttpClient
-