+ * A {@link Publisher} can serve multiple {@link Subscriber}s subscribed {@link #subscribe(Subscriber)} dynamically
+ * at various points in time.
+ *
+ * @param
+ * This is a "factory method" and can be called multiple times, each time starting a new {@link Subscription}.
+ *
+ * Each {@link Subscription} will work for only a single {@link Subscriber}.
+ *
+ * A {@link Subscriber} should only subscribe once to a single {@link Publisher}.
+ *
+ * If the {@link Publisher} rejects the subscription attempt or otherwise fails it will
+ * signal the error via {@link Subscriber#onError}.
+ *
+ * @param s the {@link Subscriber} that will consume signals from this {@link Publisher}
+ */
+ public void subscribe(Subscriber super T> s);
+}
Index: 3rdParty_sources/reactive-streams/org/reactivestreams/Subscriber.java
===================================================================
diff -u
--- 3rdParty_sources/reactive-streams/org/reactivestreams/Subscriber.java (revision 0)
+++ 3rdParty_sources/reactive-streams/org/reactivestreams/Subscriber.java (revision 2d6722d97aad801e2f7db229945ae3dab6ec8576)
@@ -0,0 +1,66 @@
+/************************************************************************
+ * Licensed under Public Domain (CC0) *
+ * *
+ * To the extent possible under law, the person who associated CC0 with *
+ * this code has waived all copyright and related or neighboring *
+ * rights to this code. *
+ * *
+ * You should have received a copy of the CC0 legalcode along with this *
+ * work. If not, see
+ * No further notifications will be received until {@link Subscription#request(long)} is called.
+ *
+ * After signaling demand:
+ *
+ * Demand can be signaled via {@link Subscription#request(long)} whenever the {@link Subscriber} instance is capable of handling more.
+ *
+ * @param
+ * No data will start flowing until {@link Subscription#request(long)} is invoked.
+ *
+ * It is the responsibility of this {@link Subscriber} instance to call {@link Subscription#request(long)} whenever more data is wanted.
+ *
+ * The {@link Publisher} will send notifications only in response to {@link Subscription#request(long)}.
+ *
+ * @param s
+ * {@link Subscription} that allows requesting data via {@link Subscription#request(long)}
+ */
+ public void onSubscribe(Subscription s);
+
+ /**
+ * Data notification sent by the {@link Publisher} in response to requests to {@link Subscription#request(long)}.
+ *
+ * @param t the element signaled
+ */
+ public void onNext(T t);
+
+ /**
+ * Failed terminal state.
+ *
+ * No further events will be sent even if {@link Subscription#request(long)} is invoked again.
+ *
+ * @param t the throwable signaled
+ */
+ public void onError(Throwable t);
+
+ /**
+ * Successful terminal state.
+ *
+ * No further events will be sent even if {@link Subscription#request(long)} is invoked again.
+ */
+ public void onComplete();
+}
Index: 3rdParty_sources/reactive-streams/org/reactivestreams/Subscription.java
===================================================================
diff -u
--- 3rdParty_sources/reactive-streams/org/reactivestreams/Subscription.java (revision 0)
+++ 3rdParty_sources/reactive-streams/org/reactivestreams/Subscription.java (revision 2d6722d97aad801e2f7db229945ae3dab6ec8576)
@@ -0,0 +1,44 @@
+/************************************************************************
+ * Licensed under Public Domain (CC0) *
+ * *
+ * To the extent possible under law, the person who associated CC0 with *
+ * this code has waived all copyright and related or neighboring *
+ * rights to this code. *
+ * *
+ * You should have received a copy of the CC0 legalcode along with this *
+ * work. If not, see
+ * It can only be used once by a single {@link Subscriber}.
+ *
+ * It is used to both signal desire for data and cancel demand (and allow resource cleanup).
+ *
+ */
+public interface Subscription {
+ /**
+ * No events will be sent by a {@link Publisher} until demand is signaled via this method.
+ *
+ * It can be called however often and whenever needed—but if the outstanding cumulative demand ever becomes Long.MAX_VALUE or more,
+ * it may be treated by the {@link Publisher} as "effectively unbounded".
+ *
+ * Whatever has been requested can be sent by the {@link Publisher} so only signal demand for what can be safely handled.
+ *
+ * A {@link Publisher} can send less than is requested if the stream ends but
+ * then must emit either {@link Subscriber#onError(Throwable)} or {@link Subscriber#onComplete()}.
+ *
+ * @param n the strictly positive number of elements to requests to the upstream {@link Publisher}
+ */
+ public void request(long n);
+
+ /**
+ * Request the {@link Publisher} to stop sending data and clean up resources.
+ *
+ * Data may still be sent to meet previously signalled demand after calling cancel.
+ */
+ public void cancel();
+}
Index: 3rdParty_sources/versions.txt
===================================================================
diff -u -rd3b7bd0be7b298ffca42f0d33989d6fb4763cef6 -r2d6722d97aad801e2f7db229945ae3dab6ec8576
--- 3rdParty_sources/versions.txt (.../versions.txt) (revision d3b7bd0be7b298ffca42f0d33989d6fb4763cef6)
+++ 3rdParty_sources/versions.txt (.../versions.txt) (revision 2d6722d97aad801e2f7db229945ae3dab6ec8576)
@@ -59,6 +59,8 @@
picketbox 5.0.3
+Reactive Streams 1.0.3
+
Servlet API 4.0.0
Spring 5.3.13
+ *
+ *