DecodeBasicInputs
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DecodeBasicInputs.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
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.
Value parameters
- ctx
-
The context, in which to decode the input. Contains the original request and progress in decoding the path
- matchWholePath
-
Should the whole path be matched - that is, if the input doesn't exhaust the path, should a failure be reported