FormDataDecoder

org.http4s.FormDataDecoder$
See theFormDataDecoder companion trait

Attributes

Companion
trait
Source
FormDataDecoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final implicit class FormDataDecoderSyntax[A](decoder: FormDataDecoder[Either[String, A]]) extends AnyVal

Attributes

Source
FormDataDecoder.scala
Supertypes
class AnyVal
trait Matchable
class Any

Types

type FormData = Map[String, Chain[String]]

Attributes

Source
FormDataDecoder.scala

Attributes

Source
FormDataDecoder.scala

Value members

Concrete methods

def apply[A](f: FormData => Result[A]): FormDataDecoder[A]

Attributes

Source
FormDataDecoder.scala
def chain[A : FormDataDecoder](key: String): FormDataDecoder[Chain[A]]

Attributes

Source
FormDataDecoder.scala
def chainEither[A](key: String)(implicit A: FormDataDecoder[A]): FormDataDecoder[Either[String, Chain[A]]]

Attributes

Source
FormDataDecoder.scala
def chainOf[A](key: String)(qd: QueryParamDecoder[A]): FormDataDecoder[Chain[A]]

Attributes

Source
FormDataDecoder.scala
def field[A : QueryParamDecoder](key: String): FormDataDecoder[A]

Attributes

Source
FormDataDecoder.scala
def fieldEither[A](key: String)(implicit qpd: QueryParamDecoder[A]): FormDataDecoder[Either[String, A]]

Attributes

Source
FormDataDecoder.scala
def fieldOptional[A : QueryParamDecoder](key: String): FormDataDecoder[Option[A]]

Attributes

Source
FormDataDecoder.scala
def list[A : FormDataDecoder](key: String): FormDataDecoder[List[A]]

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

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

Attributes

Source
FormDataDecoder.scala
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. "foos[]"

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

Attributes

Source
FormDataDecoder.scala
def nested[A : FormDataDecoder](key: String): FormDataDecoder[A]

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".

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".

Attributes

Source
FormDataDecoder.scala
def nestedEither[A](key: String)(implicit fdd: FormDataDecoder[A]): FormDataDecoder[Either[String, A]]

Attributes

Source
FormDataDecoder.scala
def nestedOptional[A : FormDataDecoder](key: String): FormDataDecoder[Option[A]]

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".

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".

Attributes

Source
FormDataDecoder.scala

Implicits

Implicits

final implicit def FormDataDecoderSyntax[A](decoder: FormDataDecoder[Either[String, A]]): FormDataDecoderSyntax[A]

Attributes

Source
FormDataDecoder.scala
implicit def formEntityDecoder[F[_] : Concurrent, A](implicit evidence$1: Concurrent[F], fdd: FormDataDecoder[A]): EntityDecoder[F, A]

Attributes

Source
FormDataDecoder.scala