Uses of Interface
com.babelqueue.schema.SchemaProvider
Packages that use SchemaProvider
Package
Description
Optional per-URN
data schema validation (ADR-0024): a dependency-free subset
Draft-07 validator (PayloadValidator), a
SchemaProvider (with the in-memory
MapProvider), and the
SchemaValidation producer/consumer helpers.-
Uses of SchemaProvider in com.babelqueue.schema
Classes in com.babelqueue.schema that implement SchemaProviderModifier and TypeClassDescriptionfinal classIn-memorySchemaProvider, for tests and for embedding schemas in code.Methods in com.babelqueue.schema with parameters of type SchemaProviderModifier and TypeMethodDescriptionstatic StringThe firstdataviolation for(urn, data), ornullwhen it is valid or when no schema is registered for the URN (opt-in).static voidValidate(urn, data)against its registered schema, throwing otherwise.static HandlerSchemaValidation.wrap(SchemaProvider provider, Handler handler) Returnshandlerwrapped to validate each message'sdataagainst its URN's schema before the handler runs (consumer-side safety net).