|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectorg.thymeleaf.templateresolver.NonCacheableTemplateResolutionValidity
public class NonCacheableTemplateResolutionValidity
Simple implementation of ITemplateResolutionValidity
that considers the template resolution to be non-cacheable.
| Field Summary | |
|---|---|
static NonCacheableTemplateResolutionValidity |
INSTANCE
Singleton instance. |
| Constructor Summary | |
|---|---|
NonCacheableTemplateResolutionValidity()
|
|
| Method Summary | |
|---|---|
boolean |
isCacheable()
Returns false. |
boolean |
isCacheStillValid()
This method will never be called, because templates using this validity implementation are always considered to be non-cacheable. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final NonCacheableTemplateResolutionValidity INSTANCE
Singleton instance. Meant to avoid creating too many objects of this class.
| Constructor Detail |
|---|
public NonCacheableTemplateResolutionValidity()
| Method Detail |
|---|
public boolean isCacheable()
Returns false. Template Resolutions using this validity are always considered to be non-cacheable.
isCacheable in interface ITemplateResolutionValiditypublic boolean isCacheStillValid()
This method will never be called, because templates using this validity implementation are always considered to be non-cacheable.
isCacheStillValid in interface ITemplateResolutionValidity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||