Class TelegramTemplateProcessorInterceptor

java.lang.Object
io.github.yvasyliev.forwarder.telegram.thymeleaf.TelegramTemplateProcessorInterceptor

public class TelegramTemplateProcessorInterceptor extends Object
An AspectJ interceptor that customizes the Thymeleaf template context before processing templates. It applies a list of TemplateContextCustomizer instances to modify the context as needed.
  • Constructor Details

  • Method Details

    • customizeContext

      public void customizeContext(TemplateContext templateContext)
      Intercepts the template processing pointcut and customizes the Thymeleaf context.
      Parameters:
      templateContext - the template context containing the Thymeleaf context to be customized