class Html extends BufferedContent[Html]

Content type used in default HTML templates.

This has 3 states, either it's a tree of elements, or a leaf, if it's a leaf, it's either safe text, or unsafe text that needs to be escaped when written out.

Source
Formats.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Html
  2. BufferedContent
  3. Content
  4. Appendable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Html(elements: Seq[Html])
  2. new Html(text: String)

Value Members

  1. def body: String

    The content String.

    The content String.

    Definition Classes
    Content
  2. val contentType: String

    Content type of HTML.

    Content type of HTML.

    Definition Classes
    Content
  3. def equals(obj: Any): Boolean
    Definition Classes
    BufferedContent → AnyRef → Any
  4. def hashCode(): Int
    Definition Classes
    BufferedContent → AnyRef → Any
  5. def toString(): String
    Definition Classes
    BufferedContent → AnyRef → Any