| Package | Description |
|---|---|
| io.cloudevents.v02 | |
| io.cloudevents.v02.http |
| Modifier and Type | Method and Description |
|---|---|
static AttributesImpl |
AttributesImpl.build(String id,
URI source,
String specversion,
String type,
ZonedDateTime time,
URI schemaurl,
String contenttype) |
AttributesImpl |
CloudEventImpl.getAttributes() |
static AttributesImpl |
AttributesImpl.unmarshal(Map<String,String> attributes)
The attribute unmarshaller for the binary format, that receives a
Map with attributes names as String and values as String. |
| 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 |
|---|---|
CloudEvent<AttributesImpl,T> |
CloudEventBuilder.build(T data,
AttributesImpl attributes,
Collection<ExtensionFormat> extensions) |
static Map<String,String> |
AttributesImpl.marshal(AttributesImpl attributes)
Creates the marshaller instance to marshall
AttributesImpl as
a Map of strings |
static <T> CloudEventImpl<T> |
CloudEventBuilder.of(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) |
| Modifier and Type | Method and Description |
|---|---|
static <T> EventStep<AttributesImpl,T,String,String> |
Marshallers.binary()
Builds a Binary Content Mode marshaller to marshal cloud events as JSON for
HTTP Transport Binding
|
static <T> HeadersStep<AttributesImpl,T,String> |
Unmarshallers.binary(Class<T> type)
Builds a Binary Content Mode unmarshaller to unmarshal JSON as CloudEvents data
for HTTP Transport Binding
|
static <T> EventStep<AttributesImpl,T,String,String> |
Marshallers.structured()
Builds a Structured Content Mode marshaller to marshal cloud event as JSON for
HTTP Transport Binding
|
static <T> HeadersStep<AttributesImpl,T,String> |
Unmarshallers.structured(Class<T> typeOfData)
Builds a Structured Content Mode unmarshaller to unmarshal JSON as CloudEvents data
for HTTP Transport Binding
|
Copyright © 2019. All rights reserved.