public static HttpResponse fromPublisher(Publisher<? extends ServerSentEvent> contentPublisher) {
        return fromPublisher(defaultHttpHeaders, contentPublisher, HttpHeaders.EMPTY_HEADERS);
    }
public static HttpResponse fromPublisher ( Publisher < ? extends ServerSentEvent > contentPublisher ) { return fromPublisher ( defaultHttpHeaders , contentPublisher , HttpHeaders . EMPTY_HEADERS ) ; }
Creates a new Server-Sent Events stream from the specified {@link Publisher}.

@param contentPublisher the {@link Publisher} which publishes the objects supposed to send as contents