Class FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset>
- java.lang.Object
-
- org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpointConfiguration
-
- org.openehealth.ipf.platform.camel.ihe.atna.AuditableEndpointConfiguration
-
- org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirEndpointConfiguration<AuditDatasetType>
-
@UriParams public class FhirEndpointConfiguration<AuditDatasetType extends FhirAuditDataset> extends AuditableEndpointConfiguration
Configuration of a FHIR endpoint instance- Since:
- 3.1
- Author:
- Christian Ohr
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FhirEndpointConfiguration(FhirComponent<AuditDatasetType> component, String path, Map<String,Object> parameters)
-
Method Summary
-
Methods inherited from class org.openehealth.ipf.platform.camel.ihe.atna.AuditableEndpointConfiguration
getAuditContext, isAudit
-
Methods inherited from class org.openehealth.ipf.platform.camel.ihe.core.InterceptableEndpointConfiguration
getCustomInterceptorFactories
-
-
-
-
Constructor Detail
-
FhirEndpointConfiguration
protected FhirEndpointConfiguration(FhirComponent<AuditDatasetType> component, String path, Map<String,Object> parameters) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getAndRemoveOrResolveReferenceParameters
public <T> List<T> getAndRemoveOrResolveReferenceParameters(FhirComponent<AuditDatasetType> component, Map<String,Object> parameters, String key, Class<T> type)
-
getClientRequestFactory
public <T extends IClientExecutable<?,?>> ClientRequestFactory<T> getClientRequestFactory()
-
setConnectTimeout
public void setConnectTimeout(int connectTimeout)
-
setTimeout
public void setTimeout(int timeout)
-
setDisableServerValidation
public void setDisableServerValidation(boolean disableServerValidation)
By default, the client will query the server before the very first operation to download the server's conformance/metadata statement and verify that the server is appropriate for the given client. This check is only done once per server endpoint for a given FhirContext and is useful to prevent bugs or unexpected behaviour when talking to servers.It may introduce unneccesary overhead however in circumstances where the client and server are known to be compatible. Setting this to true disables this check.
-
getPath
public String getPath()
-
getContext
public FhirContext getContext()
-
getServletName
public String getServletName()
-
getResourceProvider
public List<? extends FhirProvider> getResourceProvider()
-
getHapiClientInterceptorFactories
public List<HapiClientInterceptorFactory> getHapiClientInterceptorFactories()
-
getHapiServerInterceptorFactories
public List<HapiServerInterceptorFactory> getHapiServerInterceptorFactories()
-
isLazyLoadBundles
public boolean isLazyLoadBundles()
If this is true, all paging requests are routed into the route (seeLazyBundleProvider
fo details. Otherwise, all results are fetched once and cached in order to serve subsequent paging requests.
-
getSecurityInformation
public FhirSecurityInformation getSecurityInformation()
-
getConsumerSelector
public Predicate<RequestDetails> getConsumerSelector()
-
isCacheBundles
public boolean isCacheBundles()
Only considered iflazyLoadBundles
is true. The (partial) results of paging requests are cached so that subsequent requests only fetch resources that have not yet been requested.
-
-