public class SpringWebFluxEngineContextFactory extends Object implements org.thymeleaf.context.IEngineContextFactory
Spring WebFlux-based implementation of the IEngineContextFactory
interface.
This factory will examine the context being passed as a parameter and, depending on whether
this context object implements the ISpringWebFluxContext
interface or not (i.e. whether support
for Spring WebFlux should be enabled or not), return a SpringWebFluxEngineContext
or
a simple EngineContext
instance as a result.
This is the default factory implementation used by SpringWebFluxTemplateEngine
.
Constructor and Description |
---|
SpringWebFluxEngineContextFactory() |
Modifier and Type | Method and Description |
---|---|
org.thymeleaf.context.IEngineContext |
createEngineContext(org.thymeleaf.IEngineConfiguration configuration,
org.thymeleaf.engine.TemplateData templateData,
Map<String,Object> templateResolutionAttributes,
org.thymeleaf.context.IContext context) |
public org.thymeleaf.context.IEngineContext createEngineContext(org.thymeleaf.IEngineConfiguration configuration, org.thymeleaf.engine.TemplateData templateData, Map<String,Object> templateResolutionAttributes, org.thymeleaf.context.IContext context)
createEngineContext
in interface org.thymeleaf.context.IEngineContextFactory
Copyright © 2017 The THYMELEAF team. All rights reserved.