public final class CloudEventV1 extends BaseCloudEvent
extensions| Constructor and Description |
|---|
CloudEventV1(String id,
URI source,
String type,
String datacontenttype,
URI dataschema,
String subject,
ZonedDateTime time,
byte[] data,
Map<String,Object> extensions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getAttribute(String attributeName) |
String |
getDataContentType() |
URI |
getDataSchema() |
String |
getId() |
URI |
getSource() |
SpecVersion |
getSpecVersion() |
String |
getSubject() |
ZonedDateTime |
getTime() |
String |
getType() |
int |
hashCode() |
void |
readAttributes(CloudEventAttributesWriter writer) |
String |
toString() |
getData, getExtension, getExtensionNames, read, readExtensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeNamespublic SpecVersion getSpecVersion()
public String getId()
public URI getSource()
public String getType()
public String getDataContentType()
public URI getDataSchema()
public String getSubject()
public ZonedDateTime getTime()
public void readAttributes(CloudEventAttributesWriter writer) throws CloudEventRWException
CloudEventRWExceptionCopyright © 2020. All rights reserved.