@Produces(value="text/html") @Requires(property="micronaut.views.soy.engine",notEquals="sauce") @Requires(classes=com.google.template.soy.tofu.SoyTofu.class) @Singleton @Deprecated public class SoyTofuViewsRenderer extends java.lang.Object implements ViewsRenderer
| Modifier and Type | Field and Description |
|---|---|
protected SoyViewsRendererConfigurationProperties |
soyMicronautConfiguration
Deprecated.
|
protected com.google.template.soy.tofu.SoyTofu |
soyTofu
Deprecated.
|
protected ViewsConfiguration |
viewsConfiguration
Deprecated.
|
EXTENSION_SEPARATOR, FILE_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(java.lang.String view)
Deprecated.
|
io.micronaut.core.io.Writable |
render(java.lang.String viewName,
java.lang.Object data)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmodelOf, normalizeFile, normalizeFolder, renderprotected final ViewsConfiguration viewsConfiguration
protected final SoyViewsRendererConfigurationProperties soyMicronautConfiguration
protected final com.google.template.soy.tofu.SoyTofu soyTofu
@Nonnull
public io.micronaut.core.io.Writable render(@Nonnull
java.lang.String viewName,
@Nullable
java.lang.Object data)
render in interface ViewsRendererviewName - view name to be renderdata - response body to render it with a viewpublic boolean exists(@Nonnull
java.lang.String view)
exists in interface ViewsRendererview - view name to be rendered