Class PlainJteViewsRenderer<T>

java.lang.Object
io.micronaut.views.jte.JteViewsRenderer<T,io.micronaut.http.HttpRequest<?>>
io.micronaut.views.jte.PlainJteViewsRenderer<T>
Type Parameters:
T - type of input model.
All Implemented Interfaces:
io.micronaut.core.order.Ordered, ViewsRenderer<T,io.micronaut.http.HttpRequest<?>>

@Produces("text/plain") @Singleton @Requires(classes=io.micronaut.http.HttpRequest.class) public class PlainJteViewsRenderer<T> extends JteViewsRenderer<T,io.micronaut.http.HttpRequest<?>>
JTE renderer constrained to text/plain.
Since:
3.1.0
Author:
edward3h
  • Constructor Details

    • PlainJteViewsRenderer

      protected PlainJteViewsRenderer(ViewsConfiguration viewsConfiguration, JteViewsRendererConfiguration jteViewsRendererConfiguration)
      Parameters:
      viewsConfiguration - Views Configuration
      jteViewsRendererConfiguration - JTE specific configuration