Interface JStachioView

All Known Implementing Classes:
DefaultJStachioView

public interface JStachioView
An interface to mark JStachio dropwizard views
Author:
agentgt
  • Method Summary

    Modifier and Type
    Method
    Description
    default Charset
    The charset never null
    The JStache annotated instance
    static io.dropwizard.views.common.View
    of(Object model)
    Creates a dropwizard view from a model object
  • Method Details

    • model

      The JStache annotated instance
      Returns:
      model
    • of

      static io.dropwizard.views.common.View of(Object model)
      Creates a dropwizard view from a model object
      Parameters:
      model - JStache annotated model
      Returns:
      dropwizard view
    • charset

      default Charset charset()
      The charset never null
      Returns:
      utf-8 by default