package twirl
- Source
- package.scala
- Alphabetic
- By Inheritance
- twirl
- TwirlInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait TwirlInstances extends AnyRef
Value Members
-
implicit
def
htmlContentEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[Html]
- Definition Classes
- TwirlInstances
-
implicit
def
jsContentEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[JavaScript]
Note: Twirl uses a media type of
text/javascript
.Note: Twirl uses a media type of
text/javascript
. This is obsolete, so we instead return org.http4s.MediaType.application/javascript.- Definition Classes
- TwirlInstances
-
implicit
def
txtContentEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[Txt]
- Definition Classes
- TwirlInstances
-
implicit
def
xmlContentEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[Xml]
- Definition Classes
- TwirlInstances