public class OkHttpRestfulClient extends Object implements ca.uhn.fhir.rest.client.api.IHttpClient
OkHttpClient| Constructor and Description |
|---|
OkHttpRestfulClient(okhttp3.Call.Factory 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) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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) |
static StringBuilder |
newHeaderBuilder(StringBuilder baseUrl) |
public OkHttpRestfulClient(okhttp3.Call.Factory 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)
public 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 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.IHttpClientpublic 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 createGetRequest(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.EncodingEnum theEncoding)
createGetRequest in interface ca.uhn.fhir.rest.client.api.IHttpClientpublic static StringBuilder newHeaderBuilder(StringBuilder baseUrl)
Copyright © 2014–2018 University Health Network. All rights reserved.