DecodeBasicInputs
object DecodeBasicInputs
class Object
trait Matchable
class Any
Type members
Classlikes
Value members
Concrete methods
Decodes values of all basic inputs defined by the given input
, and returns a map from the input to the
input's value.
Decodes values of all basic inputs defined by the given input
, and returns a map from the input to the
input's value.
An exception is the body input, which is not decoded. This is because typically bodies can be only read once. That's why, all non-body inputs are used to decide if a request matches the endpoint, or not. If a body input is present, it is also returned as part of the result.
In case any of the decoding fails, the failure is returned together with the failing input.