Interface TemplateContextCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for customizing the Thymeleaf template context. Implementations of this interface can modify
the provided
AbstractContext to add or change variables, settings, or other context-related information
before the template is processed.-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.thymeleaf.context.AbstractContext abstractContext) Customize the given Thymeleaf template context.
-
Method Details
-
customize
void customize(org.thymeleaf.context.AbstractContext abstractContext) Customize the given Thymeleaf template context.- Parameters:
abstractContext- the Thymeleaf template context to customize
-