Class ThymeleafEndpointBuilderFactory.ThymeleafHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.ThymeleafEndpointBuilderFactory.ThymeleafHeaderNameBuilder
- Enclosing interface:
ThymeleafEndpointBuilderFactory
The builder of headers' name for the Thymeleaf component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name of the Thymeleaf template.The ServletContext for a web application.The content of the Thymeleaf template.The value of this header should be a Map with key/values that will be override any existing key with the same name.
-
Constructor Details
-
ThymeleafHeaderNameBuilder
public ThymeleafHeaderNameBuilder()
-
-
Method Details
-
thymeleafResourceUri
The name of the Thymeleaf template. The option is a:String
type. Group: producer- Returns:
- the name of the header
ThymeleafResourceUri
.
-
thymeleafTemplate
The content of the Thymeleaf template. The option is a:String
type. Group: producer- Returns:
- the name of the header
ThymeleafTemplate
.
-
thymeleafVariableMap
The value of this header should be a Map with key/values that will be override any existing key with the same name. This can be used to preconfigure common key/values you want to reuse in your Thymeleaf endpoints. The option is a:Map<String, Object>
type. Group: producer- Returns:
- the name of the header
ThymeleafVariableMap
.
-
thymeleafServletContext
The ServletContext for a web application. The option is a:jakarta.servlet.ServletContext
type. Group: producer- Returns:
- the name of the header
ThymeleafServletContext
.
-