websockets
Chris Hegarty
chris.hegarty at oracle.com
Mon Feb 12 18:56:31 UTC 2018
James,
On 10/02/18 07:38, James Roper wrote:
> ...
>
> https://developer.lightbend.com/blog/2018-02-06-reactive-streams-ee4j/index.html
Regarding:
https://github.com/jroper/reactive-streams-servlet/blob/7a2a651b706bb0612f6d11311e442f82ce307ed2/reactive-streams-servlet/src/main/java/org/reactivestreams/servlet/RequestPublisher.java
If I'm not mistaken, this appears to be mainly an adapter
from Publisher of InputStream to Publisher of ByteBuffer.
Did you overlook HttpRequest.BodyPublisher
fromInputStream(Supplier<? extends InputStream> streamSupplier)?
Or did you run into some issue with it?
-Chris.
More information about the net-dev
mailing list