public abstract class BaseHttpClient extends Object implements ca.uhn.fhir.rest.client.api.IHttpClient
| Modifier and Type | Field and Description |
|---|---|
protected ca.uhn.fhir.rest.api.RequestTypeEnum |
myRequestType |
protected StringBuilder |
myUrl |
| Constructor and Description |
|---|
BaseHttpClient(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)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHeadersToRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theHttpRequest,
ca.uhn.fhir.rest.api.EncodingEnum theEncoding,
ca.uhn.fhir.context.FhirContext theContext) |
ca.uhn.fhir.rest.client.api.IHttpRequest |
createBinaryRequest(ca.uhn.fhir.context.FhirContext theContext,
org.hl7.fhir.instance.model.api.IBaseBinary theBinary) |
ca.uhn.fhir.rest.client.api.IHttpRequest |
createByteRequest(ca.uhn.fhir.context.FhirContext theContext,
String theContents,
String theContentType,
ca.uhn.fhir.rest.api.EncodingEnum theEncoding) |
ca.uhn.fhir.rest.client.api.IHttpRequest |
createGetRequest(ca.uhn.fhir.context.FhirContext theContext,
ca.uhn.fhir.rest.api.EncodingEnum theEncoding) |
protected abstract ca.uhn.fhir.rest.client.api.IHttpRequest |
createHttpRequest() |
protected abstract ca.uhn.fhir.rest.client.api.IHttpRequest |
createHttpRequest(byte[] theContent) |
protected abstract ca.uhn.fhir.rest.client.api.IHttpRequest |
createHttpRequest(Map<String,List<String>> theParams) |
protected abstract ca.uhn.fhir.rest.client.api.IHttpRequest |
createHttpRequest(String theContents) |
ca.uhn.fhir.rest.client.api.IHttpRequest |
createParamRequest(ca.uhn.fhir.context.FhirContext theContext,
Map<String,List<String>> theParams,
ca.uhn.fhir.rest.api.EncodingEnum theEncoding) |
protected final ca.uhn.fhir.rest.api.RequestTypeEnum myRequestType
protected final StringBuilder myUrl
public BaseHttpClient(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)
public void addHeadersToRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theHttpRequest, ca.uhn.fhir.rest.api.EncodingEnum theEncoding, ca.uhn.fhir.context.FhirContext theContext)
public ca.uhn.fhir.rest.client.api.IHttpRequest createBinaryRequest(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseBinary theBinary)
createBinaryRequest in interface ca.uhn.fhir.rest.client.api.IHttpClientpublic ca.uhn.fhir.rest.client.api.IHttpRequest createByteRequest(ca.uhn.fhir.context.FhirContext theContext, String theContents, String theContentType, ca.uhn.fhir.rest.api.EncodingEnum theEncoding)
createByteRequest in interface ca.uhn.fhir.rest.client.api.IHttpClientpublic ca.uhn.fhir.rest.client.api.IHttpRequest createGetRequest(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.EncodingEnum theEncoding)
createGetRequest in interface ca.uhn.fhir.rest.client.api.IHttpClientprotected abstract ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest()
protected abstract ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(byte[] theContent)
protected abstract ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(Map<String,List<String>> theParams)
protected abstract ca.uhn.fhir.rest.client.api.IHttpRequest createHttpRequest(String theContents)
public ca.uhn.fhir.rest.client.api.IHttpRequest createParamRequest(ca.uhn.fhir.context.FhirContext theContext, Map<String,List<String>> theParams, ca.uhn.fhir.rest.api.EncodingEnum theEncoding)
createParamRequest in interface ca.uhn.fhir.rest.client.api.IHttpClientCopyright © 2014–2019 University Health Network. All rights reserved.