| Package | Description |
|---|---|
| io.cloudevents | |
| io.cloudevents.format.builder | |
| io.cloudevents.fun | |
| io.cloudevents.v02 | |
| io.cloudevents.v03 |
| Modifier and Type | Method and Description |
|---|---|
CloudEvent<A,T> |
Builder.build()
To build a brand new instance of
CloudEvent |
<TT> CloudEvent<A,TT> |
Builder.build(CloudEvent<A,T> base,
String id,
TT newData)
To build a brand new instance of
CloudEvent with another
type of 'data' |
| Modifier and Type | Method and Description |
|---|---|
<TT> CloudEvent<A,TT> |
Builder.build(CloudEvent<A,T> base,
String id,
TT newData)
To build a brand new instance of
CloudEvent with another
type of 'data' |
| Modifier and Type | Method and Description |
|---|---|
CloudEvent<A,T> |
UnmarshalStep.unmarshal()
Unmarshals the payload and headers to
CloudEvent instance |
| Modifier and Type | Method and Description |
|---|---|
MarshalStep<P,H> |
EventStep.withEvent(Supplier<CloudEvent<A,T>> event)
Supplies the
CloudEvent instance which will be marshaled |
| 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'
|
CloudEvent<A,T> |
EnvelopeUnmarshaller.unmarshal(P payload,
Supplier<List<ExtensionFormat>> extensions)
Unmarshals the payload into
CloudEvent instance implementation |
| 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 |
P |
EnvelopeMarshaller.marshal(CloudEvent<A,T> event)
Marshals a CloudEvent instance into the wire format
|
| Modifier and Type | Class and Description |
|---|---|
class |
CloudEventImpl<T>
The event implementation
|
| Modifier and Type | Method and Description |
|---|---|
<TT> CloudEvent<AttributesImpl,TT> |
CloudEventBuilder.build(CloudEvent<AttributesImpl,T> base,
String id,
TT newData)
To build a brand new instance of
CloudEvent with another
type of 'data' |
CloudEvent<AttributesImpl,T> |
CloudEventBuilder.build(T data,
AttributesImpl attributes,
Collection<ExtensionFormat> extensions) |
| Modifier and Type | Method and Description |
|---|---|
<TT> CloudEvent<AttributesImpl,TT> |
CloudEventBuilder.build(CloudEvent<AttributesImpl,T> base,
String id,
TT newData)
To build a brand new instance of
CloudEvent with another
type of 'data' |
static <T> CloudEventBuilder<T> |
CloudEventBuilder.builder(CloudEvent<AttributesImpl,T> base) |
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 |
|---|---|
CloudEvent<AttributesImpl,T> |
CloudEventBuilder.build(T data,
AttributesImpl attributes,
Collection<ExtensionFormat> extensions) |
| Modifier and Type | Method and Description |
|---|---|
static <T> CloudEventBuilder<T> |
CloudEventBuilder.builder(CloudEvent<AttributesImpl,T> base) |
static <A extends Attributes,T> |
Accessor.extensionsOf(CloudEvent<A,T> cloudEvent)
To get access the set of
ExtensionFormat inside the
event. |
Copyright © 2019. All rights reserved.