t

play.twirl.api

Content

trait Content extends AnyRef

Generic type representing content to be sent over an HTTP response.

Source
Content.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Content
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def body: String

    The content String.

  2. abstract def contentType: String

    The default Content type to use for this content.