Re: Question on CompletionStage
confirming what you wrote would be extending of what is pretty explicitly written in the spec, so I can't do that.
Currently, the behavior is "defined" by what AsyncResponse provides and there is nothing like you mentioned there, so I don't think that the usecase you described is supported - returned Observable (or any other type) will be processed as any other type, so the pipeline will be triggered right after the object is returned from the resource method.
Returning CompletionStage is equal to invoking
AsyncResponse#resume in CompletionStage#whenComplete callback,
nothing more, nothing less..
On 18/08/2017 17:23, Markus KARG wrote: