Packages

object FormDataDecoder

Source
FormDataDecoder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormDataDecoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type FormData = Map[String, Chain[String]]
  2. implicit final class FormDataDecoderSyntax[A] extends AnyVal
  3. type Result[A] = Validated[NonEmptyList[ParseFailure], A]

Value Members

  1. def apply[A](f: (FormData) ⇒ Result[A]): FormDataDecoder[A]
  2. def chain[A](key: String)(implicit arg0: FormDataDecoder[A]): FormDataDecoder[Chain[A]]
  3. def chainEither[A](key: String)(implicit A: FormDataDecoder[A]): FormDataDecoder[Either[String, Chain[A]]]
  4. def chainOf[A](key: String)(qd: QueryParamDecoder[A]): FormDataDecoder[Chain[A]]
  5. def field[A](key: String)(implicit arg0: QueryParamDecoder[A]): FormDataDecoder[A]
  6. def fieldEither[A](key: String)(implicit qpd: QueryParamDecoder[A]): FormDataDecoder[Either[String, A]]
  7. def fieldOptional[A](key: String)(implicit arg0: QueryParamDecoder[A]): FormDataDecoder[Option[A]]
  8. implicit val formDataDecoderInstances: Applicative[FormDataDecoder]
  9. implicit def formEntityDecoder[F[_], A](implicit arg0: Concurrent[F], fdd: FormDataDecoder[A]): EntityDecoder[F, A]
  10. def list[A](key: String)(implicit arg0: FormDataDecoder[A]): FormDataDecoder[List[A]]

    For repeated nested values, assuming that the form parameter name use "[]." as a suffix E.g.

    For repeated nested values, assuming that the form parameter name use "[]." as a suffix E.g. "foos[].bar"

  11. def listOf[A](key: String)(implicit A: QueryParamDecoder[A]): FormDataDecoder[List[A]]

    For repeated primitive values, assuming that the form parameter name use "[]" as a suffix E.g.

    For repeated primitive values, assuming that the form parameter name use "[]" as a suffix E.g. "foos[]"

  12. def nested[A](key: String)(implicit arg0: FormDataDecoder[A]): FormDataDecoder[A]

    For nested, this decoder assumes that the form parameter name use "." as deliminator for levels.

    For nested, this decoder assumes that the form parameter name use "." as deliminator for levels. E.g. For a field named "bar" inside a nested class under the field "foo", the parameter name is "foo.bar".

  13. def nestedEither[A](key: String)(implicit fdd: FormDataDecoder[A]): FormDataDecoder[Either[String, A]]
  14. def nestedOptional[A](key: String)(implicit arg0: FormDataDecoder[A]): FormDataDecoder[Option[A]]

    For nested, this decoder assumes that the form parameter name use "." as deliminator for levels.

    For nested, this decoder assumes that the form parameter name use "." as deliminator for levels. E.g. For a field named "bar" inside a nested class under the field "foo", the parameter name is "foo.bar".