Motivation: I have some cases when I'm using Flux. if (resp == null) { return Flux.empty(); } else { return Flux.just(resp); } There is an Stream#ofNullable, so I think this method would be helpful.