Package io.micronaut.views
@Configuration
@Requires(property="micronaut.views.enabled",
notEquals="false")
package io.micronaut.views
Contains classes specific to Views within Micronaut.
- Since:
- 1.0
- Author:
- Sergio del Amo
-
ClassDescriptionDefault implementation of
ModelAndViewRenderer
.Default implementation ofViewsModelDecorator
which enhances a model by running it by all applicable ViewModelProcessorsViewModelProcessor
.Default implementation ofViewsRendererLocator
.Default implementation ofViewsResolver
.ModelAndView<T>Holder for both Model and View.ModelAndViewRenderer<T,R> Renders aModelAndView
.Functional interface for class which can render to writable.TemplatedBuilder<T extends Renderable>Abstract class to be used by builders which support templates.Indicates the view name which should be used to render a view for the route.Defines Views configuration properties.Implementation ofViewsConfiguration
.Templates Filter.Decorates a Views Model.ViewsRenderer<T,R> Interface to be implemented by View Engines implementations.Helps resolve aViewsRenderer
for a particular view, media type and response class.Contract to resolve the view.Utility methods for views.