users@jax-rs-spec.java.net

[jax-rs-spec users] Re: NIO API review / Publisher<Pojo> vs Mono<Pojo>

From: Santiago Pericas-Geertsen <santiago.pericasgeertsen_at_oracle.com>
Date: Mon, 20 Mar 2017 15:18:08 -0700

> On Mar 20, 2017, at 9:48 AM, mpaluch_at_paluch.biz wrote:
>
> You can leave that detail either to implementations and learn from
> how the spec is used when it's in place or, you can define that
> Publisher correlates always with a collection of elements.
> The one exception could be the emission of Entity<Foo>.

 It seems reasonable to assume that the true advantage of NIO is for large payloads; large payloads tend to be associated with large collections. Hence, is seems reasonable to reserve Publisher (Source) for collections as well.

— Santiago