R - return value at the end of the write processpublic interface CloudEventWriter<R> extends CloudEventContextWriter
CloudEventReader to a new representation.| Modifier and Type | Method and Description |
|---|---|
R |
end()
End the write.
|
R |
end(CloudEventData data)
End the write with a data payload.
|
withContextAttribute, withContextAttribute, withContextAttribute, withContextAttribute, withContextAttribute, withContextAttribute, withContextAttributeR end(CloudEventData data) throws CloudEventRWException
data - the data to writeCloudEventRWException - if the message writer cannot be ended.R end() throws CloudEventRWException
CloudEventRWException - if the message writer cannot be ended.Copyright © 2021. All rights reserved.