public class OkHttpRestfulClientFactory extends ca.uhn.fhir.rest.client.impl.RestfulClientFactory
| Constructor and Description |
|---|
OkHttpRestfulClientFactory() |
OkHttpRestfulClientFactory(ca.uhn.fhir.context.FhirContext theFhirContext) |
| Modifier and Type | Method and Description |
|---|---|
protected ca.uhn.fhir.rest.client.api.IHttpClient |
getHttpClient(String theServerBase) |
ca.uhn.fhir.rest.client.api.IHttpClient |
getHttpClient(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) |
okhttp3.Call.Factory |
getNativeClient() |
protected void |
resetHttpClient() |
void |
setHttpClient(Object okHttpClient)
Only accepts clients of type
OkHttpClient |
void |
setProxy(String theHost,
Integer thePort) |
getConnectionRequestTimeout, getConnectTimeout, getFhirContext, getPoolMaxPerRoute, getPoolMaxTotal, getProxyPassword, getProxyUsername, getServerValidationMode, getServerValidationModeEnum, getSocketTimeout, newClient, newGenericClient, setConnectionRequestTimeout, setConnectTimeout, setFhirContext, setPoolMaxPerRoute, setPoolMaxTotal, setProxyCredentials, setServerValidationMode, setServerValidationModeEnum, setSocketTimeout, validateConfigured, validateServerBase, validateServerBaseIfConfiguredToDoSopublic OkHttpRestfulClientFactory()
public OkHttpRestfulClientFactory(ca.uhn.fhir.context.FhirContext theFhirContext)
protected ca.uhn.fhir.rest.client.api.IHttpClient getHttpClient(String theServerBase)
getHttpClient in class ca.uhn.fhir.rest.client.impl.RestfulClientFactoryprotected void resetHttpClient()
resetHttpClient in class ca.uhn.fhir.rest.client.impl.RestfulClientFactorypublic okhttp3.Call.Factory getNativeClient()
public ca.uhn.fhir.rest.client.api.IHttpClient getHttpClient(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 setHttpClient(Object okHttpClient)
OkHttpClientokHttpClient - Copyright © 2014–2018 University Health Network. All rights reserved.