@ParametersAreNonnullByDefault public interface CloudEventExtension
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getKeys()
Get the set of possible extension attribute keys
|
Object |
getValue(String key)
Get the attribute of extension named
key. |
void |
readFrom(CloudEventExtensions extensions)
Fill this materialized extension with values from a
CloudEventExtensions implementation. |
void readFrom(CloudEventExtensions extensions)
CloudEventExtensions implementation.extensions - the extensions where to read from@Nullable Object getValue(String key) throws IllegalArgumentException
key.key - the name of the extension attributeIllegalArgumentException - if the key is unknown to this extensionCopyright © 2023. All rights reserved.