public class OAuth2ClientIdTemplateEngine extends Object implements org.thymeleaf.spring5.ISpringTemplateEngine
TemplateSpec
. This allows us to automatically cache any
returned templates based on the request's client id.
The OAuth2ClientTemplateResolver
uses this
map to determine if a client specific template exists.Constructor and Description |
---|
OAuth2ClientIdTemplateEngine(org.thymeleaf.spring5.SpringTemplateEngine delegate) |
Modifier and Type | Method and Description |
---|---|
org.thymeleaf.IEngineConfiguration |
getConfiguration() |
String |
process(String template,
org.thymeleaf.context.IContext context) |
void |
process(String template,
org.thymeleaf.context.IContext context,
Writer writer) |
String |
process(String template,
Set<String> templateSelectors,
org.thymeleaf.context.IContext context) |
void |
process(String template,
Set<String> templateSelectors,
org.thymeleaf.context.IContext context,
Writer writer) |
String |
process(org.thymeleaf.TemplateSpec templateSpec,
org.thymeleaf.context.IContext context) |
void |
process(org.thymeleaf.TemplateSpec templateSpec,
org.thymeleaf.context.IContext context,
Writer writer) |
org.thymeleaf.IThrottledTemplateProcessor |
processThrottled(String template,
org.thymeleaf.context.IContext context) |
org.thymeleaf.IThrottledTemplateProcessor |
processThrottled(String template,
Set<String> templateSelectors,
org.thymeleaf.context.IContext context) |
org.thymeleaf.IThrottledTemplateProcessor |
processThrottled(org.thymeleaf.TemplateSpec templateSpec,
org.thymeleaf.context.IContext context) |
void |
setTemplateEngineMessageSource(org.springframework.context.MessageSource templateEngineMessageSource) |
public OAuth2ClientIdTemplateEngine(org.thymeleaf.spring5.SpringTemplateEngine delegate)
public void process(org.thymeleaf.TemplateSpec templateSpec, org.thymeleaf.context.IContext context, Writer writer)
process
in interface org.thymeleaf.ITemplateEngine
public org.thymeleaf.IThrottledTemplateProcessor processThrottled(String template, org.thymeleaf.context.IContext context)
processThrottled
in interface org.thymeleaf.ITemplateEngine
public org.thymeleaf.IThrottledTemplateProcessor processThrottled(String template, Set<String> templateSelectors, org.thymeleaf.context.IContext context)
processThrottled
in interface org.thymeleaf.ITemplateEngine
public org.thymeleaf.IThrottledTemplateProcessor processThrottled(org.thymeleaf.TemplateSpec templateSpec, org.thymeleaf.context.IContext context)
processThrottled
in interface org.thymeleaf.ITemplateEngine
public org.thymeleaf.IEngineConfiguration getConfiguration()
getConfiguration
in interface org.thymeleaf.ITemplateEngine
public String process(String template, org.thymeleaf.context.IContext context)
process
in interface org.thymeleaf.ITemplateEngine
public String process(String template, Set<String> templateSelectors, org.thymeleaf.context.IContext context)
process
in interface org.thymeleaf.ITemplateEngine
public String process(org.thymeleaf.TemplateSpec templateSpec, org.thymeleaf.context.IContext context)
process
in interface org.thymeleaf.ITemplateEngine
public void process(String template, org.thymeleaf.context.IContext context, Writer writer)
process
in interface org.thymeleaf.ITemplateEngine
public void process(String template, Set<String> templateSelectors, org.thymeleaf.context.IContext context, Writer writer)
process
in interface org.thymeleaf.ITemplateEngine
public void setTemplateEngineMessageSource(org.springframework.context.MessageSource templateEngineMessageSource)
setTemplateEngineMessageSource
in interface org.thymeleaf.spring5.ISpringTemplateEngine
Copyright © 2021. All rights reserved.