Package | Description |
---|---|
org.thymeleaf.templateresolver |
Modifier and Type | Class and Description |
---|---|
class |
AlwaysValidTemplateResolutionValidity
Simple implementation of
ITemplateResolutionValidity
that considers the template resolution to be always cacheable
and always valid. |
class |
NonCacheableTemplateResolutionValidity
Simple implementation of
ITemplateResolutionValidity
that considers the template resolution to be non-cacheable. |
class |
TTLTemplateResolutionValidity
Simple implementation of
ITemplateResolutionValidity
that uses a TTL (time-to-live) expressed in milliseconds to
compute the validity of template cache entries. |
Modifier and Type | Method and Description |
---|---|
protected abstract ITemplateResolutionValidity |
AbstractTemplateResolver.computeValidity(TemplateProcessingParameters templateProcessingParameters)
Computes the validity to be applied to the template resolution.
|
protected ITemplateResolutionValidity |
UrlTemplateResolver.computeValidity(TemplateProcessingParameters templateProcessingParameters) |
protected ITemplateResolutionValidity |
TemplateResolver.computeValidity(TemplateProcessingParameters templateProcessingParameters) |
ITemplateResolutionValidity |
TemplateResolution.getValidity()
Returns the template resolution validity.
|
Constructor and Description |
---|
TemplateResolution(String templateName,
String resourceName,
IResourceResolver resourceResolver,
String characterEncoding,
String templateMode,
ITemplateResolutionValidity validity) |
Copyright © 2017 The THYMELEAF team. All rights reserved.