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 classHttpClient- 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
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ca.uhn.fhir.rest.client.api.IHttpRequestcreateHttpRequest()protected 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, createParamRequest
-
-
-
-
Constructor Detail
-
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 Detail
-
createHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest()
- Specified by:
createHttpRequestin classBaseHttpClient
-
createHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(byte[] content)
- Specified by:
createHttpRequestin classBaseHttpClient
-
createHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(Map<String,List<String>> theParams)
- Specified by:
createHttpRequestin classBaseHttpClient
-
createHttpRequest
protected ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(String theContents)
- Specified by:
createHttpRequestin classBaseHttpClient
-
-