@ParametersAreNonnullByDefault
public interface CloudEventContextReader
Represents an object that can be read as CloudEvent context attributes and extensions.
An object (in particular, buffered objects) can implement both this interface and CloudEventReader.
-
Method Summary
Modifier and TypeMethodDescriptionvoidreadContext(CloudEventContextWriter writer) Read the context attributes and extensions using the provided writer
-
Method Details
-
readContext
Read the context attributes and extensions using the provided writer- Parameters:
writer- context writer- Throws:
CloudEventRWException- if something went wrong during the read.
-