Class DefaultIncomingCloudEventMetadata<T>
- java.lang.Object
-
- io.smallrye.reactive.messaging.ce.impl.BaseCloudEventMetadata<T>
-
- io.smallrye.reactive.messaging.ce.impl.DefaultIncomingCloudEventMetadata<T>
-
- Type Parameters:
T
- the type of data
- All Implemented Interfaces:
CloudEventMetadata<T>
,IncomingCloudEventMetadata<T>
public class DefaultIncomingCloudEventMetadata<T> extends BaseCloudEventMetadata<T> implements IncomingCloudEventMetadata<T>
Default implementation of theIncomingCloudEventMetadata
interface
-
-
Field Summary
-
Fields inherited from class io.smallrye.reactive.messaging.ce.impl.BaseCloudEventMetadata
data, dataContentType, dataSchema, extensions, id, source, specVersion, subject, timestamp, type
-
Fields inherited from interface io.smallrye.reactive.messaging.ce.CloudEventMetadata
CE_ATTRIBUTE_DATA_CONTENT_TYPE, CE_ATTRIBUTE_DATA_SCHEMA, CE_ATTRIBUTE_ID, CE_ATTRIBUTE_SOURCE, CE_ATTRIBUTE_SPEC_VERSION, CE_ATTRIBUTE_SUBJECT, CE_ATTRIBUTE_TIME, CE_ATTRIBUTE_TYPE, CE_VERSION_1_0
-
-
Constructor Summary
Constructors Constructor Description DefaultIncomingCloudEventMetadata(CloudEventMetadata<T> existing)
DefaultIncomingCloudEventMetadata(String specVersion, String id, URI source, String type, String dataContentType, URI dataSchema, String subject, ZonedDateTime timestamp, Map<String,Object> extensions, T data)
-
Method Summary
-
Methods inherited from class io.smallrye.reactive.messaging.ce.impl.BaseCloudEventMetadata
getData, getDataContentType, getDataSchema, getExtension, getExtensions, getId, getSource, getSpecVersion, getSubject, getTimeStamp, getType, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.reactive.messaging.ce.CloudEventMetadata
getData, getDataContentType, getDataSchema, getExtension, getExtensions, getId, getSource, getSpecVersion, getSubject, getTimeStamp, getType
-
-
-
-
Constructor Detail
-
DefaultIncomingCloudEventMetadata
public DefaultIncomingCloudEventMetadata(String specVersion, String id, URI source, String type, String dataContentType, URI dataSchema, String subject, ZonedDateTime timestamp, Map<String,Object> extensions, T data)
-
DefaultIncomingCloudEventMetadata
public DefaultIncomingCloudEventMetadata(CloudEventMetadata<T> existing)
-
-