Interface FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,FhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
,FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Enclosing interface:
- FhirEndpointBuilderFactory
public static interface FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder extends FhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder, FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
Advanced builder for endpoint for the FHIR component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FhirEndpointBuilderFactory.FhirEndpointBuilder
basic()
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
client(ca.uhn.fhir.rest.client.api.IGenericClient client)
To use the custom client.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
client(String client)
To use the custom client.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
clientFactory(ca.uhn.fhir.rest.client.api.IRestfulClientFactory clientFactory)
To use the custom client factory.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
clientFactory(String clientFactory)
To use the custom client factory.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
compress(boolean compress)
Compresses outgoing (POST/PUT) contents to the GZIP format.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
compress(String compress)
Compresses outgoing (POST/PUT) contents to the GZIP format.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
connectionTimeout(Integer connectionTimeout)
How long to try and establish the initial TCP connection (in ms).default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
connectionTimeout(String connectionTimeout)
How long to try and establish the initial TCP connection (in ms).default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
deferModelScanning(boolean deferModelScanning)
When this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
deferModelScanning(String deferModelScanning)
When this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
fhirContext(ca.uhn.fhir.context.FhirContext fhirContext)
FhirContext is an expensive object to create.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
fhirContext(String fhirContext)
FhirContext is an expensive object to create.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
forceConformanceCheck(boolean forceConformanceCheck)
Force conformance check.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
forceConformanceCheck(String forceConformanceCheck)
Force conformance check.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
sessionCookie(String sessionCookie)
HTTP session cookie to add to every request.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
socketTimeout(Integer socketTimeout)
How long to block for individual read/write operations (in ms).default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
socketTimeout(String socketTimeout)
How long to block for individual read/write operations (in ms).default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
summary(String summary)
Request that the server modify the response using the _summary param.default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder
validationMode(String validationMode)
When should Camel validate the FHIR Server's conformance statement.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.FhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, pollStrategy, pollStrategy
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
-
-
-
Method Detail
-
basic
default FhirEndpointBuilderFactory.FhirEndpointBuilder basic()
- Specified by:
basic
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
basic
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
-
client
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder client(ca.uhn.fhir.rest.client.api.IGenericClient client)
To use the custom client. The option is a: <code>ca.uhn.fhir.rest.client.api.IGenericClient</code> type. Group: advanced- Specified by:
client
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
client
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
client
- the value to set- Returns:
- the dsl builder
-
client
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder client(String client)
To use the custom client. The option will be converted to a <code>ca.uhn.fhir.rest.client.api.IGenericClient</code> type. Group: advanced- Specified by:
client
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
client
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
client
- the value to set- Returns:
- the dsl builder
-
clientFactory
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder clientFactory(ca.uhn.fhir.rest.client.api.IRestfulClientFactory clientFactory)
To use the custom client factory. The option is a: <code>ca.uhn.fhir.rest.client.api.IRestfulClientFactory</code> type. Group: advanced- Specified by:
clientFactory
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
clientFactory
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
clientFactory
- the value to set- Returns:
- the dsl builder
-
clientFactory
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder clientFactory(String clientFactory)
To use the custom client factory. The option will be converted to a <code>ca.uhn.fhir.rest.client.api.IRestfulClientFactory</code> type. Group: advanced- Specified by:
clientFactory
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
clientFactory
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
clientFactory
- the value to set- Returns:
- the dsl builder
-
compress
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder compress(boolean compress)
Compresses outgoing (POST/PUT) contents to the GZIP format. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
compress
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
compress
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
compress
- the value to set- Returns:
- the dsl builder
-
compress
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder compress(String compress)
Compresses outgoing (POST/PUT) contents to the GZIP format. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
compress
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
compress
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
compress
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder connectionTimeout(Integer connectionTimeout)
How long to try and establish the initial TCP connection (in ms). The option is a: <code>java.lang.Integer</code> type. Default: 10000 Group: advanced- Specified by:
connectionTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
connectionTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder connectionTimeout(String connectionTimeout)
How long to try and establish the initial TCP connection (in ms). The option will be converted to a <code>java.lang.Integer</code> type. Default: 10000 Group: advanced- Specified by:
connectionTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
connectionTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
connectionTimeout
- the value to set- Returns:
- the dsl builder
-
deferModelScanning
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder deferModelScanning(boolean deferModelScanning)
When this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
deferModelScanning
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
deferModelScanning
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
deferModelScanning
- the value to set- Returns:
- the dsl builder
-
deferModelScanning
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder deferModelScanning(String deferModelScanning)
When this option is set, model classes will not be scanned for children until the child list for the given type is actually accessed. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
deferModelScanning
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
deferModelScanning
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
deferModelScanning
- the value to set- Returns:
- the dsl builder
-
fhirContext
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder fhirContext(ca.uhn.fhir.context.FhirContext fhirContext)
FhirContext is an expensive object to create. To avoid creating multiple instances, it can be set directly. The option is a: <code>ca.uhn.fhir.context.FhirContext</code> type. Group: advanced- Specified by:
fhirContext
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
fhirContext
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
fhirContext
- the value to set- Returns:
- the dsl builder
-
fhirContext
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder fhirContext(String fhirContext)
FhirContext is an expensive object to create. To avoid creating multiple instances, it can be set directly. The option will be converted to a <code>ca.uhn.fhir.context.FhirContext</code> type. Group: advanced- Specified by:
fhirContext
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
fhirContext
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
fhirContext
- the value to set- Returns:
- the dsl builder
-
forceConformanceCheck
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder forceConformanceCheck(boolean forceConformanceCheck)
Force conformance check. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
forceConformanceCheck
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
forceConformanceCheck
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
forceConformanceCheck
- the value to set- Returns:
- the dsl builder
-
forceConformanceCheck
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder forceConformanceCheck(String forceConformanceCheck)
Force conformance check. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
forceConformanceCheck
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
forceConformanceCheck
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
forceConformanceCheck
- the value to set- Returns:
- the dsl builder
-
sessionCookie
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder sessionCookie(String sessionCookie)
HTTP session cookie to add to every request. The option is a: <code>java.lang.String</code> type. Group: advanced- Specified by:
sessionCookie
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
sessionCookie
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
sessionCookie
- the value to set- Returns:
- the dsl builder
-
socketTimeout
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder socketTimeout(Integer socketTimeout)
How long to block for individual read/write operations (in ms). The option is a: <code>java.lang.Integer</code> type. Default: 10000 Group: advanced- Specified by:
socketTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
socketTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
socketTimeout
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder socketTimeout(String socketTimeout)
How long to block for individual read/write operations (in ms). The option will be converted to a <code>java.lang.Integer</code> type. Default: 10000 Group: advanced- Specified by:
socketTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
socketTimeout
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
summary
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder summary(String summary)
Request that the server modify the response using the _summary param. The option is a: <code>java.lang.String</code> type. Group: advanced- Specified by:
summary
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
summary
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
summary
- the value to set- Returns:
- the dsl builder
-
validationMode
default FhirEndpointBuilderFactory.AdvancedFhirEndpointBuilder validationMode(String validationMode)
When should Camel validate the FHIR Server's conformance statement. The option is a: <code>java.lang.String</code> type. Default: ONCE Group: advanced- Specified by:
validationMode
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
- Specified by:
validationMode
in interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
- Parameters:
validationMode
- the value to set- Returns:
- the dsl builder
-
-