play.twirl

api

package api

Visibility
  1. Public
  2. All

Type Members

  1. trait Appendable[T] extends AnyRef

    A type that works with BaseScalaTemplate This used to support +=, but no longer is required to.

    A type that works with BaseScalaTemplate This used to support +=, but no longer is required to.

    To do

    Change name to reflect not appendable

  2. case class BaseScalaTemplate[T <: Appendable[T], F <: Format[T]](format: F) extends Product with Serializable

  3. abstract class BufferedContent[A <: BufferedContent[A]] extends Appendable[A] with Content

    Appendable content using a StringBuilder.

    Appendable content using a StringBuilder. Either specify elements or text, not both.

    Using an Either[TraversableOnce[A], String] impacts performance in an already contentious part of code, so it has been done with both parameters instead.

    A

    self-type

  4. trait Content extends AnyRef

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

  5. trait Format[T <: Appendable[T]] extends AnyRef

    A template format defines how to properly integrate content for a type T (e.g.

    A template format defines how to properly integrate content for a type T (e.g. to prevent cross-site scripting attacks)

    T

    The underlying type that this format applies to.

  6. class Html extends BufferedContent[Html]

    Content type used in default HTML templates.

    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.

  7. class JavaScript extends BufferedContent[JavaScript]

    Type used in default JavaScript templates.

  8. trait Template0[Result] extends AnyRef

  9. trait Template1[A, Result] extends AnyRef

  10. trait Template10[A, B, C, D, E, F, G, H, I, J, Result] extends AnyRef

  11. trait Template11[A, B, C, D, E, F, G, H, I, J, K, Result] extends AnyRef

  12. trait Template12[A, B, C, D, E, F, G, H, I, J, K, L, Result] extends AnyRef

  13. trait Template13[A, B, C, D, E, F, G, H, I, J, K, L, M, Result] extends AnyRef

  14. trait Template14[A, B, C, D, E, F, G, H, I, J, K, L, M, N, Result] extends AnyRef

  15. trait Template15[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, Result] extends AnyRef

  16. trait Template16[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Result] extends AnyRef

  17. trait Template17[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, Result] extends AnyRef

  18. trait Template18[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, Result] extends AnyRef

  19. trait Template19[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, Result] extends AnyRef

  20. trait Template2[A, B, Result] extends AnyRef

  21. trait Template20[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, Result] extends AnyRef

  22. trait Template21[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, Result] extends AnyRef

  23. trait Template22[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, Result] extends AnyRef

  24. trait Template3[A, B, C, Result] extends AnyRef

  25. trait Template4[A, B, C, D, Result] extends AnyRef

  26. trait Template5[A, B, C, D, E, Result] extends AnyRef

  27. trait Template6[A, B, C, D, E, F, Result] extends AnyRef

  28. trait Template7[A, B, C, D, E, F, G, Result] extends AnyRef

  29. trait Template8[A, B, C, D, E, F, G, H, Result] extends AnyRef

  30. trait Template9[A, B, C, D, E, F, G, H, I, Result] extends AnyRef

  31. class Txt extends BufferedContent[Txt]

    Content type used in default text templates.

  32. class Xml extends BufferedContent[Xml]

    Content type used in default XML templates.

Value Members

  1. object Formats

  2. object Html

    Helper for HTML utility methods.

  3. object HtmlFormat extends Format[Html]

    Formatter for HTML content.

  4. object JavaScript

    Helper for JavaScript utility methods.

  5. object JavaScriptFormat extends Format[JavaScript]

    Formatter for JavaScript content.

  6. object MimeTypes

  7. object TemplateMagic

  8. object Txt

    Helper for utilities Txt methods.

  9. object TxtFormat extends Format[Txt]

    Formatter for text content.

  10. object Xml

    Helper for XML utility methods.

  11. object XmlFormat extends Format[Xml]

    Formatter for XML content.

Ungrouped