Implicit class that provides ::
and other operations on any request reader that returns a
shapeless.HList.
Implicit conversion that adds convenience methods to readers for optional values.
Implicit conversion that allows to call as[A]
on any RequestReader[Option[String]]
to perform a type conversion
based on an implicit DecodeRequest[A]
which must be in scope.
Implicit conversion that allows to call as[A]
on any RequestReader[String]
to perform a type conversion based
on an implicit DecodeRequest[A]
which must be in scope.
Implicit conversion that allows to call as[A]
on any RequestReader[Seq[String]]
to perform a type conversion
based on an implicit DecodeRequest[A] which must be in scope.
Implicit class that provides ::
and other operations on any request reader to support
building shapeless.HList request readers.
Creates a new RequestReader that reads the result from the request.
Creates a new RequestReader that reads the result from the request.
the function to apply to the request
a new reader that reads the result from the request
Creates a new RequestReader that always produces the specified value.
Creates a new RequestReader that always produces the specified value. It will
succeed if the given Future
succeeds and fail if the Future
fails.
the value the new reader should produce
a new reader that always produces the specified value
Creates a new RequestReader that always fails, producing the specified exception.
Creates a new RequestReader that always fails, producing the specified exception.
the exception the new reader should produce
a new reader that always fails, producing the specified exception
Creates a new RequestReader that always succeeds, producing the specified value.
Creates a new RequestReader that always succeeds, producing the specified value.
the value the new reader should produce
a new reader that always succeeds, producing the specified value
Convenience methods for creating new reader instances.