Module io.cloudevents.api
Package io.cloudevents.rw
package io.cloudevents.rw
-
ClassDescriptionRepresents an object that can be read as CloudEvent context attributes and extensions.Interface to write the context attributes/extensions from a
CloudEventContextReaderto a new representation.CloudEventDataMapper<R extends CloudEventData>Interface to convert aCloudEventDatainstance to another one.Represents an object that can be read as CloudEvent.This class is the exception Protocol Binding and Event Format implementers can use to signal errors while serializing/deserializing CloudEvent.The kind of error that happened while serializing/deserializingInterface to write the content (CloudEvents attributes, extensions and payload) from aCloudEventReaderto a new representation.This factory is used to enforce setting theSpecVersionas first step in the writing process.