public abstract class BaseCloudEvent extends Object implements io.cloudevents.CloudEvent, io.cloudevents.rw.CloudEventReader, io.cloudevents.rw.CloudEventContextReader
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
extensions |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseCloudEvent(io.cloudevents.CloudEventData data,
Map<String,Object> extensions) |
| Modifier and Type | Method and Description |
|---|---|
io.cloudevents.CloudEventData |
getData() |
Object |
getExtension(String extensionName) |
Set<String> |
getExtensionNames() |
<T extends io.cloudevents.rw.CloudEventWriter<V>,V> |
read(io.cloudevents.rw.CloudEventWriterFactory<T,V> writerFactory,
io.cloudevents.rw.CloudEventDataMapper<? extends io.cloudevents.CloudEventData> mapper) |
protected void |
readExtensions(io.cloudevents.rw.CloudEventContextWriter writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic io.cloudevents.CloudEventData getData()
getData in interface io.cloudevents.CloudEventpublic Object getExtension(String extensionName)
getExtension in interface io.cloudevents.CloudEventExtensionspublic Set<String> getExtensionNames()
getExtensionNames in interface io.cloudevents.CloudEventExtensionspublic <T extends io.cloudevents.rw.CloudEventWriter<V>,V> V read(io.cloudevents.rw.CloudEventWriterFactory<T,V> writerFactory,
io.cloudevents.rw.CloudEventDataMapper<? extends io.cloudevents.CloudEventData> mapper)
throws io.cloudevents.rw.CloudEventRWException,
IllegalStateException
read in interface io.cloudevents.rw.CloudEventReaderio.cloudevents.rw.CloudEventRWExceptionIllegalStateExceptionprotected void readExtensions(io.cloudevents.rw.CloudEventContextWriter writer)
throws io.cloudevents.rw.CloudEventRWException
io.cloudevents.rw.CloudEventRWExceptionCopyright © 2026. All rights reserved.