Package | Description |
---|---|
org.thymeleaf.cache | |
org.thymeleaf.engine | |
org.thymeleaf.templateresolver |
Modifier and Type | Class and Description |
---|---|
class |
AlwaysValidCacheEntryValidity
Simple implementation of
ICacheEntryValidity
that considers the template resolution to be always cacheable
and always valid. |
class |
NonCacheableCacheEntryValidity
Simple implementation of
ICacheEntryValidity
that considers the template resolution to be non-cacheable. |
class |
TTLCacheEntryValidity
Simple implementation of
ICacheEntryValidity
that uses a TTL (time-to-live) expressed in milliseconds to
compute the validity of template cache entries. |
Modifier and Type | Method and Description |
---|---|
ICacheEntryValidity |
TemplateData.getValidity()
Returns the template resolution validity.
|
Modifier and Type | Method and Description |
---|---|
protected ICacheEntryValidity |
DefaultTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected ICacheEntryValidity |
UrlTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected ICacheEntryValidity |
AbstractConfigurableTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
protected abstract ICacheEntryValidity |
AbstractTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes)
Computes the validity to be applied to the template resolution.
|
protected ICacheEntryValidity |
StringTemplateResolver.computeValidity(IEngineConfiguration configuration,
String ownerTemplate,
String template,
Map<String,Object> templateResolutionAttributes) |
ICacheEntryValidity |
TemplateResolution.getValidity()
Returns the template resolution validity.
|
Constructor and Description |
---|
TemplateResolution(ITemplateResource templateResource,
boolean templateResourceExistenceVerified,
TemplateMode templateMode,
boolean useDecoupledLogic,
ICacheEntryValidity validity) |
TemplateResolution(ITemplateResource templateResource,
TemplateMode templateMode,
ICacheEntryValidity validity) |
Copyright © 2016 The THYMELEAF team. All rights reserved.