PayloadPolicy class sealed
How consumeInbound performs SPEC §7.2 item 2 — payload-schema validation.
This package bundles no JSON Schema implementation, for the same reason it bundles no cryptosuite: the engine, its draft support and its resource limits are the consumer's choice, and a zero-dependency package is worth keeping. So the schema ships with the generated library and the validator comes from you.
- Implementers
Constructors
- PayloadPolicy.acceptUnvalidated()
-
Skip item 2 entirely. Appropriate only where something upstream — an API
gateway, a schema-validating transport — has already performed it on the
same bytes.
constfactory
- PayloadPolicy.validate(PayloadValidator validator)
-
Validate against
spec.payloadSchema. Failures map tomalformedRequest.constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited