Interface ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
ThymeleafEndpointBuilderFactory
public static interface ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Thymeleaf component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
allowContextMapAll
(boolean allowContextMapAll) Sets whether the context map should allow access to all details.allowContextMapAll
(String allowContextMapAll) Sets whether the context map should allow access to all details.Whether templates have to be considered cacheable or not.Whether templates have to be considered cacheable or not.cacheTimeToLive
(Long cacheTimeToLive) The cache Time To Live for templates, expressed in milliseconds.cacheTimeToLive
(String cacheTimeToLive) The cache Time To Live for templates, expressed in milliseconds.checkExistence
(Boolean checkExistence) Whether a template resources will be checked for existence before being returned.checkExistence
(String checkExistence) Whether a template resources will be checked for existence before being returned.contentCache
(boolean contentCache) Sets whether to use resource content cache or not.contentCache
(String contentCache) Sets whether to use resource content cache or not.templateMode
(String templateMode) The template mode to be applied to templates.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
allowContextMapAll
default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder allowContextMapAll(boolean allowContextMapAll) Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. The option is a:boolean
type. Default: false Group: producer- Parameters:
allowContextMapAll
- the value to set- Returns:
- the dsl builder
-
allowContextMapAll
default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder allowContextMapAll(String allowContextMapAll) Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. The option will be converted to aboolean
type. Default: false Group: producer- Parameters:
allowContextMapAll
- the value to set- Returns:
- the dsl builder
-
cacheable
Whether templates have to be considered cacheable or not. The option is a:java.lang.Boolean
type. Group: producer- Parameters:
cacheable
- the value to set- Returns:
- the dsl builder
-
cacheable
Whether templates have to be considered cacheable or not. The option will be converted to ajava.lang.Boolean
type. Group: producer- Parameters:
cacheable
- the value to set- Returns:
- the dsl builder
-
cacheTimeToLive
default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder cacheTimeToLive(Long cacheTimeToLive) The cache Time To Live for templates, expressed in milliseconds. The option is a:java.lang.Long
type. Group: producer- Parameters:
cacheTimeToLive
- the value to set- Returns:
- the dsl builder
-
cacheTimeToLive
default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder cacheTimeToLive(String cacheTimeToLive) The cache Time To Live for templates, expressed in milliseconds. The option will be converted to ajava.lang.Long
type. Group: producer- Parameters:
cacheTimeToLive
- the value to set- Returns:
- the dsl builder
-
checkExistence
default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder checkExistence(Boolean checkExistence) Whether a template resources will be checked for existence before being returned. The option is a:java.lang.Boolean
type. Group: producer- Parameters:
checkExistence
- the value to set- Returns:
- the dsl builder
-
checkExistence
default ThymeleafEndpointBuilderFactory.ThymeleafEndpointBuilder checkExistence(String checkExistence) Whether a template resources will be checked for existence before being returned. The option will be converted to ajava.lang.Boolean
type. Group: producer- Parameters:
checkExistence
- the value to set- Returns:
- the dsl builder
-
contentCache
Sets whether to use resource content cache or not. The option is a:boolean
type. Default: false Group: producer- Parameters:
contentCache
- the value to set- Returns:
- the dsl builder
-
contentCache
Sets whether to use resource content cache or not. The option will be converted to aboolean
type. Default: false Group: producer- Parameters:
contentCache
- the value to set- Returns:
- the dsl builder
-
templateMode
The template mode to be applied to templates. The option is a:java.lang.String
type. Default: HTML Group: producer- Parameters:
templateMode
- the value to set- Returns:
- the dsl builder
-