public class JaxRsRestfulClientFactory extends RestfulClientFactory
DEFAULT_CONNECT_TIMEOUT, DEFAULT_CONNECTION_REQUEST_TIMEOUT, DEFAULT_POOL_MAX, DEFAULT_POOL_MAX_PER_ROUTE, DEFAULT_SERVER_VALIDATION_MODE, DEFAULT_SOCKET_TIMEOUT| Constructor and Description |
|---|
JaxRsRestfulClientFactory()
Constructor.
|
JaxRsRestfulClientFactory(FhirContext theFhirContext)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected JaxRsHttpClient |
getHttpClient(String theServerBase) |
IHttpClient |
getHttpClient(StringBuilder url,
Map<String,List<String>> theIfNoneExistParams,
String theIfNoneExistString,
RequestTypeEnum theRequestType,
List<Header> theHeaders) |
javax.ws.rs.client.Client |
getNativeClientClient() |
protected void |
resetHttpClient() |
void |
setHttpClient(Object theHttpClient)
Only accept clients of type javax.ws.rs.client.Client
|
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 JaxRsRestfulClientFactory()
FhirContext manually using RestfulClientFactory.setFhirContext(FhirContext) if this constructor is used!public JaxRsRestfulClientFactory(FhirContext theFhirContext)
theFhirContext - The contextpublic javax.ws.rs.client.Client getNativeClientClient()
public IHttpClient getHttpClient(StringBuilder url, Map<String,List<String>> theIfNoneExistParams, String theIfNoneExistString, RequestTypeEnum theRequestType, List<Header> theHeaders)
public void setHttpClient(Object theHttpClient)
theHttpClient - protected JaxRsHttpClient getHttpClient(String theServerBase)
getHttpClient in class RestfulClientFactoryprotected void resetHttpClient()
resetHttpClient in class RestfulClientFactoryCopyright © 2014–2016 University Health Network. All rights reserved.