Package io.micronaut.views.jte
Class HtmlJteViewsRenderer<T>
java.lang.Object
io.micronaut.views.jte.JteViewsRenderer<T,io.micronaut.http.HttpRequest<?>>
io.micronaut.views.jte.HtmlJteViewsRenderer<T>
- Type Parameters:
T
- type of input model.
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,ViewsRenderer<T,
io.micronaut.http.HttpRequest<?>>
@Produces({"text/html","text/vnd.turbo-stream.html"})
@Primary
@Singleton
@Requires(classes=io.micronaut.http.HttpRequest.class)
public class HtmlJteViewsRenderer<T>
extends JteViewsRenderer<T,io.micronaut.http.HttpRequest<?>>
JTE renderer constrained to text/html.
- Since:
- 3.1.0
- Author:
- edward3h
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ModifierConstructorDescriptionprotected
HtmlJteViewsRenderer
(ViewsConfiguration viewsConfiguration, JteViewsRendererConfiguration jteViewsRendererConfiguration) -
Method Summary
Methods inherited from class io.micronaut.views.jte.JteViewsRenderer
exists, render
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
HtmlJteViewsRenderer
protected HtmlJteViewsRenderer(ViewsConfiguration viewsConfiguration, JteViewsRendererConfiguration jteViewsRendererConfiguration) - Parameters:
viewsConfiguration
- Views ConfigurationjteViewsRendererConfiguration
- JTE specific configuration
-