| Package | Description |
|---|---|
| io.cloudevents.extensions | |
| io.cloudevents.fun | |
| io.cloudevents.v02 | |
| io.cloudevents.v03 |
| Modifier and Type | Class and Description |
|---|---|
static class |
DistributedTracingExtension.Format
The in-memory format for distributed tracing.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtensionFormat |
ExtensionFormat.of(InMemoryFormat inMemory,
Map.Entry<String,String>... transport) |
static ExtensionFormat |
ExtensionFormat.of(InMemoryFormat inMemory,
String key,
String value) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<ExtensionFormat> |
DistributedTracingExtension.unmarshall(Map<String,String> exts)
Unmarshals the
DistributedTracingExtension based on map of extensions. |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
ExtensionFormat.marshal(Collection<ExtensionFormat> extensions)
Marshals a collection of
ExtensionFormat to Map<String, String> |
| Modifier and Type | Method and Description |
|---|---|
Collection<ExtensionFormat> |
ExtensionFormatAccessor.extensionsOf(CloudEvent<A,T> cloudEvent)
To get access to the internal collection of
ExtensionFormat inside
the CloudEvent implementation |
Optional<ExtensionFormat> |
ExtensionUmarshaller.unmarshal(Map<String,String> extensions)
Unmarshals the map of extensions into
ExtensionFormat |
| Modifier and Type | Method and Description |
|---|---|
CloudEvent<A,T> |
EventBuilder.build(T data,
A attributes,
Collection<ExtensionFormat> extensions)
Builds a new event using 'data', 'attributes' and 'extensions'
|
Map<String,String> |
ExtensionMarshaller.marshal(Collection<ExtensionFormat> extensions)
Marshals a collections of
ExtensionFormat into map |
CloudEvent<A,T> |
EnvelopeUnmarshaller.unmarshal(P payload,
Supplier<List<ExtensionFormat>> extensions)
Unmarshals the payload into
CloudEvent instance implementation |
| Modifier and Type | Method and Description |
|---|---|
static <A extends Attributes,T> |
Accessor.extensionsOf(CloudEvent<A,T> cloudEvent)
To get access the set of
ExtensionFormat inside the
event. |
| Modifier and Type | Method and Description |
|---|---|
CloudEventBuilder<T> |
CloudEventBuilder.withExtension(ExtensionFormat extension) |
| Modifier and Type | Method and Description |
|---|---|
CloudEvent<AttributesImpl,T> |
CloudEventBuilder.build(T data,
AttributesImpl attributes,
Collection<ExtensionFormat> extensions) |
static <T> CloudEventImpl<T> |
CloudEventBuilder.of(T data,
AttributesImpl attributes,
Collection<ExtensionFormat> extensions) |
| Modifier and Type | Method and Description |
|---|---|
static <A extends Attributes,T> |
Accessor.extensionsOf(CloudEvent<A,T> cloudEvent)
To get access the set of
ExtensionFormat inside the
event. |
| Modifier and Type | Method and Description |
|---|---|
CloudEventBuilder<T> |
CloudEventBuilder.withExtension(ExtensionFormat extension) |
| Modifier and Type | Method and Description |
|---|---|
CloudEvent<AttributesImpl,T> |
CloudEventBuilder.build(T data,
AttributesImpl attributes,
Collection<ExtensionFormat> extensions) |
static <T> CloudEventImpl<T> |
CloudEventBuilder.of(T data,
AttributesImpl attributes,
Collection<ExtensionFormat> extensions)
Build an event from data and attributes
|
Copyright © 2019. All rights reserved.