Class DefaultCloudEventMessage<T>

    • Constructor Detail

      • DefaultCloudEventMessage

        public DefaultCloudEventMessage​(io.cloudevents.v1.CloudEventImpl<T> delegate)
    • Method Detail

      • getAttributes

        public io.cloudevents.v1.AttributesImpl getAttributes()
        Specified by:
        getAttributes in interface io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,​T>
      • getData

        public Optional<T> getData()
        Specified by:
        getData in interface io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,​T>
      • getExtensions

        public Map<String,​Object> getExtensions()
        Specified by:
        getExtensions in interface io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,​T>
      • getPayload

        public T getPayload()
        Specified by:
        getPayload in interface Message<T>
        Returns:
        The payload for this message.