Content

play.twirl.api.Content
trait Content

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BufferedContent[A]
class Html
class JavaScript
class Txt
class Xml

Members list

Value members

Abstract methods

def body: String

The content String.

The content String.

Attributes

def contentType: String

The default Content type to use for this content.

The default Content type to use for this content.

Attributes