public final class CloudEventV03 extends BaseCloudEvent
extensions| Constructor and Description |
|---|
CloudEventV03(String id,
URI source,
String type,
ZonedDateTime time,
URI schemaurl,
String datacontenttype,
String subject,
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 |
getSchemaUrl() |
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.