Package

com.twitter.finatra.http.marshalling

mustache

Permalink

package mustache

Visibility
  1. Public
  2. All

Type Members

  1. case class MustacheBodyComponent(data: Any, template: String) extends MessageBodyComponent with Product with Serializable

    Permalink
  2. class MustacheService extends AnyRef

    Permalink

    A service for rendering mustache templates.

    A service for rendering mustache templates. Note: it is expected to be rare when you would need to interact directly with this service. The framework will handle rendering and returning mustache templates over a view object.

    A use-case where you may need this service is if you wanted to use a template to generate content to be embedded inside of a response instead of being the entire response. For this we have provided the #createString method.

    Annotations
    @Singleton()

Ungrouped