Index
All Classes and Interfaces|All Packages|Serialized Form
C
- CloudEvent - Interface in io.cloudevents
-
Interface representing an in memory read only representation of a CloudEvent, as specified by the CloudEvents specification.
- CloudEventAttributes - Interface in io.cloudevents
-
Interface which defines CloudEvent attributes as per specification
- CloudEventContext - Interface in io.cloudevents
-
Interface representing an in memory read only representation of CloudEvent attributes and extensions.
- CloudEventContextReader - Interface in io.cloudevents.rw
-
Represents an object that can be read as CloudEvent context attributes and extensions.
- CloudEventContextWriter - Interface in io.cloudevents.rw
-
Interface to write the context attributes/extensions from a
CloudEventContextReaderto a new representation. - CloudEventData - Interface in io.cloudevents
-
Interface that defines a wrapper for CloudEvent data.
- CloudEventDataMapper<R extends CloudEventData> - Interface in io.cloudevents.rw
-
Interface to convert a
CloudEventDatainstance to another one. - CloudEventExtension - Interface in io.cloudevents
-
Materialized CloudEvent extension interface to read/write the extension attributes key/values.
- CloudEventExtensions - Interface in io.cloudevents
-
The event extensions.
- CloudEventReader - Interface in io.cloudevents.rw
-
Represents an object that can be read as CloudEvent.
- CloudEventRWException - Exception in io.cloudevents.rw
-
This class is the exception Protocol Binding and Event Format implementers can use to signal errors while serializing/deserializing CloudEvent.
- CloudEventRWException.CloudEventRWExceptionKind - Enum Class in io.cloudevents.rw
-
The kind of error that happened while serializing/deserializing
- CloudEventWriter<R> - Interface in io.cloudevents.rw
-
Interface to write the content (CloudEvents attributes, extensions and payload) from a
CloudEventReaderto a new representation. - CloudEventWriterFactory<W extends CloudEventWriter<R>,
R> - Interface in io.cloudevents.rw -
This factory is used to enforce setting the
SpecVersionas first step in the writing process. - create(SpecVersion) - Method in interface io.cloudevents.rw.CloudEventWriterFactory
-
Create a
CloudEventWriterstarting from the providedSpecVersion
D
- DATA_CONVERSION - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
Error while converting CloudEventData.
E
- end() - Method in interface io.cloudevents.rw.CloudEventWriter
-
End the write.
- end(CloudEventData) - Method in interface io.cloudevents.rw.CloudEventWriter
-
End the write with a data payload.
G
- getAllAttributes() - Method in enum class io.cloudevents.SpecVersion
- getAttribute(String) - Method in interface io.cloudevents.CloudEventAttributes
-
Get the context attribute named
attributeName - getAttributeNames() - Method in interface io.cloudevents.CloudEventAttributes
- getData() - Method in interface io.cloudevents.CloudEvent
- getDataContentType() - Method in interface io.cloudevents.CloudEventAttributes
-
A common way to get the media type of CloudEvents 'data';
- getDataSchema() - Method in interface io.cloudevents.CloudEventAttributes
- getExtension(String) - Method in interface io.cloudevents.CloudEventExtensions
-
Get the extension attribute named
extensionName - getExtensionNames() - Method in interface io.cloudevents.CloudEventExtensions
- getId() - Method in interface io.cloudevents.CloudEventAttributes
- getKeys() - Method in interface io.cloudevents.CloudEventExtension
-
Get the set of possible extension attribute keys
- getKind() - Method in exception io.cloudevents.rw.CloudEventRWException
- getMandatoryAttributes() - Method in enum class io.cloudevents.SpecVersion
- getOptionalAttributes() - Method in enum class io.cloudevents.SpecVersion
- getSource() - Method in interface io.cloudevents.CloudEventAttributes
- getSpecVersion() - Method in interface io.cloudevents.CloudEventAttributes
- getSubject() - Method in interface io.cloudevents.CloudEventAttributes
- getTime() - Method in interface io.cloudevents.CloudEventAttributes
- getType() - Method in interface io.cloudevents.CloudEventAttributes
- getValue(String) - Method in interface io.cloudevents.CloudEventExtension
-
Get the attribute of extension named
key.
I
- identity() - Static method in interface io.cloudevents.rw.CloudEventDataMapper
- INVALID_ATTRIBUTE_NAME - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
The attribute name is not a valid/known context attribute.
- INVALID_ATTRIBUTE_TYPE - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
The attribute/extension type is not valid.
- INVALID_ATTRIBUTE_VALUE - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
The attribute/extension value is not valid.
- INVALID_DATA_TYPE - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
The data type is not valid.
- INVALID_EXTENSION_NAME - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
The extension name is not valid because it doesn't follow the naming convention enforced by the CloudEvents spec.
- INVALID_SPEC_VERSION - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
Spec version string is not recognized by this particular SDK version.
- io.cloudevents - package io.cloudevents
- io.cloudevents.api - module io.cloudevents.api
- io.cloudevents.lang - package io.cloudevents.lang
- io.cloudevents.rw - package io.cloudevents.rw
- io.cloudevents.types - package io.cloudevents.types
M
- map(CloudEventData) - Method in interface io.cloudevents.rw.CloudEventDataMapper
-
Map
datato anotherCloudEventDatainstance.
N
- newDataConversion(Throwable, String, String) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newInvalidAttributeName(String) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newInvalidAttributeType(String, Class<?>) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newInvalidAttributeType(String, Object) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newInvalidAttributeValue(String, Object, Throwable) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newInvalidDataType(String, String...) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newInvalidExtensionName(String) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newInvalidSpecVersion(String) - Static method in exception io.cloudevents.rw.CloudEventRWException
- newOther(String) - Static method in exception io.cloudevents.rw.CloudEventRWException
-
An exception for use where none of the other variants are appropriate.
- newOther(Throwable) - Static method in exception io.cloudevents.rw.CloudEventRWException
-
This wraps a
Throwablein a new generic instance of this exception. - newUnknownEncodingException() - Static method in exception io.cloudevents.rw.CloudEventRWException
- Nullable - Annotation Interface in io.cloudevents.lang
-
This annotation is used to define a method parameter or return type as nullable.
O
- OTHER - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
Other error.
P
- parse(String) - Static method in enum class io.cloudevents.SpecVersion
-
Parse a string as
SpecVersion - parseTime(String) - Static method in class io.cloudevents.types.Time
-
Parse a
StringRFC3339 compliant asOffsetDateTime. - parseTime(String, String) - Static method in class io.cloudevents.types.Time
-
Parse an attribute/extension with RFC3339 compliant
Stringvalue asOffsetDateTime.
R
- read(CloudEventWriterFactory<W, R>) - Method in interface io.cloudevents.rw.CloudEventReader
-
Like
CloudEventReader.read(CloudEventWriterFactory, CloudEventDataMapper), but with the identityCloudEventDataMapper. - read(CloudEventWriterFactory<W, R>, CloudEventDataMapper<? extends CloudEventData>) - Method in interface io.cloudevents.rw.CloudEventReader
-
Read self using the provided writer factory.
- readContext(CloudEventContextWriter) - Method in interface io.cloudevents.rw.CloudEventContextReader
-
Read the context attributes and extensions using the provided writer
- readFrom(CloudEventExtensions) - Method in interface io.cloudevents.CloudEventExtension
-
Fill this materialized extension with values from a
CloudEventExtensionsimplementation.
S
- SpecVersion - Enum Class in io.cloudevents
-
Represents one of the supported CloudEvents specification versions by this library
T
- Time - Class in io.cloudevents.types
-
Utilities to handle the CloudEvent Attribute Timestamp type
- toBytes() - Method in interface io.cloudevents.CloudEventData
-
Returns the bytes representation of this data instance.
- toString() - Method in enum class io.cloudevents.SpecVersion
U
- UNKNOWN_ENCODING - Enum constant in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
Invalid content type or spec version
V
- V03 - Enum constant in enum class io.cloudevents.SpecVersion
- V1 - Enum constant in enum class io.cloudevents.SpecVersion
- valueOf(String) - Static method in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.cloudevents.SpecVersion
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.cloudevents.rw.CloudEventRWException.CloudEventRWExceptionKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.cloudevents.SpecVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withContextAttribute(String, byte[]) - Method in interface io.cloudevents.rw.CloudEventContextWriter
-
Set the attribute with a binary type.
- withContextAttribute(String, Boolean) - Method in interface io.cloudevents.rw.CloudEventContextWriter
-
Set attribute with type
Booleanattribute. - withContextAttribute(String, Integer) - Method in interface io.cloudevents.rw.CloudEventContextWriter
-
Set attribute with type
Integer. - withContextAttribute(String, Number) - Method in interface io.cloudevents.rw.CloudEventContextWriter
-
Deprecated.
- withContextAttribute(String, String) - Method in interface io.cloudevents.rw.CloudEventContextWriter
-
Set attribute with type
String. - withContextAttribute(String, URI) - Method in interface io.cloudevents.rw.CloudEventContextWriter
-
Set attribute with type
URI. - withContextAttribute(String, OffsetDateTime) - Method in interface io.cloudevents.rw.CloudEventContextWriter
-
Set attribute with type
OffsetDateTimeattribute. - writeTime(String, OffsetDateTime) - Static method in class io.cloudevents.types.Time
-
Convert an attribute/extension
OffsetDateTimeto a RFC3339 compliantString. - writeTime(OffsetDateTime) - Static method in class io.cloudevents.types.Time
-
Convert a
OffsetDateTimeto a RFC3339 compliantString.
All Classes and Interfaces|All Packages|Serialized Form
Integertype as a numeric value. UseCloudEventContextWriter.withContextAttribute(String, Integer)instead.