public class DefaultCloudEventMessage<T> extends Object implements CloudEventMessage<T>
| Constructor and Description |
|---|
DefaultCloudEventMessage(io.cloudevents.v1.CloudEventImpl<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
io.cloudevents.v1.AttributesImpl |
getAttributes() |
Optional<T> |
getData() |
Map<String,Object> |
getExtensions() |
T |
getPayload() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitack, addMetadata, getAck, getMetadata, getMetadata, of, of, of, of, of, of, unwrap, withAck, withMetadata, withMetadata, withPayloadpublic DefaultCloudEventMessage(io.cloudevents.v1.CloudEventImpl<T> delegate)
public io.cloudevents.v1.AttributesImpl getAttributes()
getAttributes in interface io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T>public Optional<T> getData()
getData in interface io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T>public Map<String,Object> getExtensions()
getExtensions in interface io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T>public T getPayload()
getPayload in interface Message<T>Copyright © 2018–2020 SmallRye. All rights reserved.