object FormDataDecoder
- Source
- FormDataDecoder.scala
- Alphabetic
- By Inheritance
- FormDataDecoder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type FormData = Map[String, Chain[String]]
- implicit final class FormDataDecoderSyntax[A] extends AnyVal
- type Result[A] = Validated[NonEmptyList[ParseFailure], A]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](f: (FormData) ⇒ Result[A]): FormDataDecoder[A]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def chain[A](key: String)(implicit arg0: FormDataDecoder[A]): FormDataDecoder[Chain[A]]
- def chainEither[A](key: String)(implicit A: FormDataDecoder[A]): FormDataDecoder[Either[String, Chain[A]]]
- def chainOf[A](key: String)(qd: QueryParamDecoder[A]): FormDataDecoder[Chain[A]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def field[A](key: String)(implicit arg0: QueryParamDecoder[A]): FormDataDecoder[A]
- def fieldEither[A](key: String)(implicit qpd: QueryParamDecoder[A]): FormDataDecoder[Either[String, A]]
- def fieldOptional[A](key: String)(implicit arg0: QueryParamDecoder[A]): FormDataDecoder[Option[A]]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- implicit val formDataDecoderInstances: Applicative[FormDataDecoder]
- implicit def formEntityDecoder[F[_], A](implicit arg0: Sync[F], fdd: FormDataDecoder[A]): EntityDecoder[F, A]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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"
-
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[]"
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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".
- def nestedEither[A](key: String)(implicit fdd: FormDataDecoder[A]): FormDataDecoder[Either[String, A]]
-
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".
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()