Uses of Interface
org.springframework.restdocs.templates.TemplateResourceResolver
Package
Description
Template API used to render documentation snippets.
JMustache-based implementation of the template API.
-
Uses of TemplateResourceResolver in org.springframework.restdocs.templates
-
Uses of TemplateResourceResolver in org.springframework.restdocs.templates.mustache
Modifier and TypeMethodDescriptionprotected final TemplateResourceResolver
MustacheTemplateEngine.getTemplateResourceResolver()
Returns theTemplateResourceResolver
used to resolve the template resources prior to compilation.ModifierConstructorDescriptionMustacheTemplateEngine
(TemplateResourceResolver templateResourceResolver) Creates a newMustacheTemplateEngine
that will use the giventemplateResourceResolver
to resolve template paths.MustacheTemplateEngine
(TemplateResourceResolver templateResourceResolver, Charset templateEncoding) Creates a newMustacheTemplateEngine
that will use the giventemplateResourceResolver
to resolve template paths, reading them using the giventemplateEncoding
.MustacheTemplateEngine
(TemplateResourceResolver templateResourceResolver, Charset templateEncoding, org.springframework.restdocs.mustache.Mustache.Compiler compiler) Creates a newMustacheTemplateEngine
that will use the giventemplateResourceResolver
to resolve templates and the givencompiler
to compile them.MustacheTemplateEngine
(TemplateResourceResolver templateResourceResolver, Charset templateEncoding, org.springframework.restdocs.mustache.Mustache.Compiler compiler, Map<String, Object> context) Creates a newMustacheTemplateEngine
that will use the giventemplateResourceResolver
to resolve templates.MustacheTemplateEngine
(TemplateResourceResolver templateResourceResolver, org.springframework.restdocs.mustache.Mustache.Compiler compiler) Creates a newMustacheTemplateEngine
that will use the giventemplateResourceResolver
to resolve templates and the givencompiler
to compile them.MustacheTemplateEngine
(TemplateResourceResolver templateResourceResolver, org.springframework.restdocs.mustache.Mustache.Compiler compiler, Map<String, Object> context) Creates a newMustacheTemplateEngine
that will use the giventemplateResourceResolver
to resolve templates.