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
Modifier and TypeMethodDescriptionbasic()client(ca.uhn.fhir.rest.client.api.IGenericClient client) To use the custom client.To use the custom client.clientFactory(ca.uhn.fhir.rest.client.api.IRestfulClientFactory clientFactory) To use the custom client factory.clientFactory(String clientFactory) To use the custom client factory.compress(boolean compress) Compresses outgoing (POST/PUT) contents to the GZIP format.Compresses outgoing (POST/PUT) contents to the GZIP format.connectionTimeout(Integer connectionTimeout) How long to try and establish the initial TCP connection (in ms).connectionTimeout(String connectionTimeout) How long to try and establish the initial TCP connection (in ms).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.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.fhirContext(ca.uhn.fhir.context.FhirContext fhirContext) FhirContext is an expensive object to create.fhirContext(String fhirContext) FhirContext is an expensive object to create.forceConformanceCheck(boolean forceConformanceCheck) Force conformance check.forceConformanceCheck(String forceConformanceCheck) Force conformance check.sessionCookie(String sessionCookie) HTTP session cookie to add to every request.socketTimeout(Integer socketTimeout) How long to block for individual read/write operations (in ms).socketTimeout(String socketTimeout) How long to block for individual read/write operations (in ms).Request that the server modify the response using the _summary param.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, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.FhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, pollStrategy, pollStrategyMethods inherited from interface org.apache.camel.builder.endpoint.dsl.FhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Method Details
-
basic
- Specified by:
basicin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
basicin 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:
clientin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
clientin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
client- the value to set- Returns:
- the dsl builder
-
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:
clientin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
clientin 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:
clientFactoryin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
clientFactoryin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
clientFactory- the value to set- Returns:
- the dsl builder
-
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:
clientFactoryin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
clientFactoryin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
clientFactory- the value to set- Returns:
- the dsl builder
-
compress
Compresses outgoing (POST/PUT) contents to the GZIP format. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
compressin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
compressin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
compress- the value to set- Returns:
- the dsl builder
-
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:
compressin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
compressin 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:
connectionTimeoutin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
connectionTimeoutin 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:
connectionTimeoutin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
connectionTimeoutin 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:
deferModelScanningin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
deferModelScanningin 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:
deferModelScanningin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
deferModelScanningin 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:
fhirContextin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
fhirContextin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
fhirContext- the value to set- Returns:
- the dsl builder
-
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:
fhirContextin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
fhirContextin 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:
forceConformanceCheckin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
forceConformanceCheckin 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:
forceConformanceCheckin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
forceConformanceCheckin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
forceConformanceCheck- the value to set- Returns:
- the dsl builder
-
sessionCookie
HTTP session cookie to add to every request. The option is a: <code>java.lang.String</code> type. Group: advanced- Specified by:
sessionCookiein interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
sessionCookiein interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
sessionCookie- the value to set- Returns:
- the dsl builder
-
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:
socketTimeoutin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
socketTimeoutin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
socketTimeout- the value to set- Returns:
- the dsl builder
-
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:
socketTimeoutin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
socketTimeoutin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
socketTimeout- the value to set- Returns:
- the dsl builder
-
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:
summaryin interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
summaryin 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:
validationModein interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointConsumerBuilder- Specified by:
validationModein interfaceFhirEndpointBuilderFactory.AdvancedFhirEndpointProducerBuilder- Parameters:
validationMode- the value to set- Returns:
- the dsl builder
-