Package io.micronaut.views.turbo
Class DefaultTurboFrameRenderer
java.lang.Object
io.micronaut.views.turbo.AbstractTurboRenderer<TurboFrame.Builder>
io.micronaut.views.turbo.DefaultTurboFrameRenderer
- All Implemented Interfaces:
TurboFrameRenderer
@Singleton
@Requires(classes=io.micronaut.http.HttpRequest.class)
public class DefaultTurboFrameRenderer
extends AbstractTurboRenderer<TurboFrame.Builder>
implements TurboFrameRenderer
DefaultImplementation
of TurboFrameRenderer
.- Since:
- 3.4.0
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionDefaultTurboFrameRenderer
(ViewsRendererLocator viewsRendererLocator) Deprecated, for removal: This API element is subject to removal in a future version.DefaultTurboFrameRenderer
(ViewsRendererLocator viewsRendererLocator, ViewsModelDecorator viewsModelDecorator) Constructor. -
Method Summary
Methods inherited from class io.micronaut.views.turbo.AbstractTurboRenderer
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.views.turbo.TurboFrameRenderer
render
-
Constructor Details
-
DefaultTurboFrameRenderer
@Inject public DefaultTurboFrameRenderer(ViewsRendererLocator viewsRendererLocator, ViewsModelDecorator viewsModelDecorator) Constructor.- Parameters:
viewsRendererLocator
- Views Renderer Locator.viewsModelDecorator
- Views Model Decorator
-
DefaultTurboFrameRenderer
@Deprecated(since="5.2.1", forRemoval=true) public DefaultTurboFrameRenderer(ViewsRendererLocator viewsRendererLocator) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
viewsRendererLocator
- View Renderer Locator
-
DefaultTurboFrameRenderer(ViewsRendererLocator, ViewsModelDecorator)
instead.