File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
api/src/main/java/io/cloudevents/rw Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,12 @@ public interface CloudEventReader {
32
32
/**
33
33
* Like {@link #read(CloudEventWriterFactory, CloudEventDataMapper)}, but with the identity {@link CloudEventDataMapper}.
34
34
*
35
+ * @param <W> The type of the {@link CloudEventWriter} created by writerFactory
36
+ * @param <R> The return value of the {@link CloudEventWriter} created by writerFactory
37
+ * @param writerFactory a factory that generates a visitor starting from the SpecVersion of the event
35
38
* @see #read(CloudEventWriterFactory, CloudEventDataMapper)
39
+ * @return the value returned by {@link CloudEventWriter#end()} or {@link CloudEventWriter#end(CloudEventData)}
40
+ * @throws CloudEventRWException if something went wrong during the read.
36
41
*/
37
42
default <W extends CloudEventWriter <R >, R > R read (CloudEventWriterFactory <W , R > writerFactory ) throws CloudEventRWException {
38
43
return read (writerFactory , CloudEventDataMapper .identity ());
Original file line number Diff line number Diff line change 163
163
<detectLinks />
164
164
<links >
165
165
<link >https://docs.spring.io/spring-framework/docs/current/javadoc-api/</link >
166
- <link >https://vertx.io/docs/apidocs/</link >
167
166
<link >https://jakarta.ee/specifications/platform/8/apidocs/</link >
168
167
<link >https://kafka.apache.org/25/javadoc/</link >
169
168
<link >https://qpid.apache.org/releases/qpid-proton-j-0.33.7/api/</link >
You can’t perform that action at this time.
0 commit comments