public static HttpResponse fromStream(Stream<?> contentStream, Executor executor,
                                          ObjectMapper mapper) {
        return fromStream(defaultHttpHeaders, contentStream, HttpHeaders.EMPTY_HEADERS, executor, mapper);
    }
public static HttpResponse fromStream ( Stream < ? > contentStream , Executor executor , ObjectMapper mapper ) { return fromStream ( defaultHttpHeaders , contentStream , HttpHeaders . EMPTY_HEADERS , executor , mapper ) ; }
Creates a new JSON Text Sequences from the specified {@link Stream}.

@param contentStream the {@link Stream} which publishes the objects supposed to send as contents
@param executor the executor which iterates the stream