public final class CloudEventV03 extends BaseCloudEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
DATACONTENTENCODING
The name of the datacontentencoding attribute
|
static String |
DATACONTENTTYPE
The name of the datacontenttype attribute
|
static String |
ID
The name of the id attribute
|
static String |
SCHEMAURL
The name of the schemaurl attribute
|
static String |
SOURCE
The name of the source attribute
|
static String |
SPECVERSION
The name of the specversion attribute
|
static String |
SUBJECT
The name of the subject attribute
|
static String |
TIME
The name of the time attribute
|
static String |
TYPE
The name of the type attribute
|
extensions| Constructor and Description |
|---|
CloudEventV03(String id,
URI source,
String type,
OffsetDateTime time,
URI schemaurl,
String datacontenttype,
String subject,
CloudEventData 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() |
OffsetDateTime |
getTime() |
String |
getType() |
int |
hashCode() |
void |
readContext(CloudEventContextWriter writer) |
String |
toString() |
getData, getExtension, getExtensionNames, read, readExtensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeNamesreadpublic static final String ID
public static final String SOURCE
public static final String SPECVERSION
public static final String TYPE
public static final String TIME
public static final String SCHEMAURL
public static final String DATACONTENTTYPE
public static final String DATACONTENTENCODING
public static final String SUBJECT
public SpecVersion getSpecVersion()
public String getId()
public URI getSource()
public String getType()
public String getDataContentType()
public URI getDataSchema()
public String getSubject()
public OffsetDateTime getTime()
public void readContext(CloudEventContextWriter writer) throws CloudEventRWException
CloudEventRWExceptionCopyright © 2023. All rights reserved.