Play provides you a Map[String, Seq[String]]
(aliased as UrlFormEncoded
) in request body for urlFormEncoded requests.
Play provides you a Map[String, Seq[String]]
(aliased as UrlFormEncoded
) in request body for urlFormEncoded requests.
It's generally a lot more convenient to work on Map[Path, Seq[String]]
to define Rules.
This object contains methods used to convert Map[String, Seq[String]]
<-> Map[Path, Seq[String]]
We use the alias UrlFormEncoded
, which is just a Map[String, Seq[String]]
This object provides Rules for Map[String, Seq[String]]
Contains the validation API used by
Form
.For example, to define a custom constraint: