Class JavaScriptTemplateEngine
- java.lang.Object
-
- org.mockserver.templates.engine.javascript.JavaScriptTemplateEngine
-
- All Implemented Interfaces:
TemplateEngine
public class JavaScriptTemplateEngine extends Object implements TemplateEngine
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description JavaScriptTemplateEngine(MockServerLogger logFormatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
executeTemplate(String template, HttpRequest request, Class<? extends DTO<T>> dtoClass)
-
-
-
Constructor Detail
-
JavaScriptTemplateEngine
public JavaScriptTemplateEngine(MockServerLogger logFormatter)
-
-
Method Detail
-
executeTemplate
public <T> T executeTemplate(String template, HttpRequest request, Class<? extends DTO<T>> dtoClass)
- Specified by:
executeTemplate
in interfaceTemplateEngine
-
-