sealed trait AnyContent extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnyContent
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def asFormUrlEncoded: Option[Map[String, Seq[String]]]
application/x-www-form-urlencoded
- def asJson: Option[JsValue]
text/json or application/json
- def asMultipartFormData: Option[[TemporaryFile]]
multipart/form-data
- def asRaw: Option[RawBuffer]
Used when no Content-Type matches
- def asText: Option[String]
text/plain
- def asXml: Option[NodeSeq]
application/xml
A request body that adapts automatically according the request Content-Type.