Interface ViewableTemplate<T>

Type Parameters:
T - model type
All Superinterfaces:
Renderer<T>, Template<T>, TemplateInfo
All Known Implementing Classes:
ExampleModelRenderer

public interface ViewableTemplate<T> extends Template<T>
A mixin for generated templates to create dropwizard views.
Author:
agentgt
  • Method Details

    • view

      default io.dropwizard.views.common.View view(T model)
      Creates a dropwizard view from the model and this template. JStachio will not need to lookup the template that corresponds to the model.
      Parameters:
      model - model that the template can render
      Returns:
      dropwizard view