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 {
3232 /**
3333 * Like {@link #read(CloudEventWriterFactory, CloudEventDataMapper)}, but with the identity {@link CloudEventDataMapper}.
3434 *
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
3538 * @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.
3641 */
3742 default <W extends CloudEventWriter <R >, R > R read (CloudEventWriterFactory <W , R > writerFactory ) throws CloudEventRWException {
3843 return read (writerFactory , CloudEventDataMapper .identity ());
Original file line number Diff line number Diff line change 163163 <detectLinks />
164164 <links >
165165 <link >https://docs.spring.io/spring-framework/docs/current/javadoc-api/</link >
166- <link >https://vertx.io/docs/apidocs/</link >
167166 <link >https://jakarta.ee/specifications/platform/8/apidocs/</link >
168167 <link >https://kafka.apache.org/25/javadoc/</link >
169168 <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