|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.thymeleaf.templateresolver.AbstractTemplateResolver org.thymeleaf.templateresolver.TemplateResolver org.thymeleaf.templateresolver.ServletContextTemplateResolver
public class ServletContextTemplateResolver
Implementation of ITemplateResolver
that extends TemplateResolver
and uses a ServletContextResourceResolver
for resource resolution.
Field Summary |
---|
Fields inherited from class org.thymeleaf.templateresolver.TemplateResolver |
---|
DEFAULT_CACHE_TTL_MS, DEFAULT_CACHEABLE, DEFAULT_TEMPLATE_MODE |
Constructor Summary | |
---|---|
ServletContextTemplateResolver()
|
Method Summary | |
---|---|
void |
setResourceResolver(IResourceResolver resourceResolver)
This method should not be called, because the resource resolver is fixed to be ServletContextResourceResolver . |
Methods inherited from class org.thymeleaf.templateresolver.AbstractTemplateResolver |
---|
checkInitialized, checkNotInitialized, computeResolvable, getName, getOrder, getResolvablePatterns, getResolvablePatternSpec, initialize, isInitialized, resolveTemplate, setName, setOrder, setResolvablePatterns, unsafeGetName, unsafeGetOrder |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletContextTemplateResolver()
Method Detail |
---|
public void setResourceResolver(IResourceResolver resourceResolver)
This method should not be called, because the resource resolver is
fixed to be ServletContextResourceResolver
. Every execution of this method
will result in an exception.
If you need to select a different resource resolver, use the TemplateResolver
class instead.
setResourceResolver
in class TemplateResolver
resourceResolver
- the new resource resolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |