| Package | Description |
|---|---|
| io.cloudevents.rw |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CloudEventWriterFactory<W extends CloudEventWriter<R>,R>
This factory is used to enforce setting the
SpecVersion as first step in the writing process. |
| Modifier and Type | Method and Description |
|---|---|
default <W extends CloudEventWriter<R>,R> |
CloudEventReader.read(CloudEventWriterFactory<W,R> writerFactory)
Like
CloudEventReader.read(CloudEventWriterFactory, CloudEventDataMapper), but with the identity CloudEventDataMapper. |
<W extends CloudEventWriter<R>,R> |
CloudEventReader.read(CloudEventWriterFactory<W,R> writerFactory,
CloudEventDataMapper<? extends CloudEventData> mapper)
Read self using the provided writer factory.
|
Copyright © 2024. All rights reserved.