public class EventStreamMarshalling
extends java.lang.Object
eventStreamMarshaller lets a source of ServerSentEvents be marshalled to a HttpResponse.| Constructor and Description | 
|---|
| EventStreamMarshalling() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Marshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>,RequestEntity> | toEventStream()Lets a source of  ServerSentEvents be marshalled to aHttpResponse. | 
public static Marshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>,RequestEntity> toEventStream()
ServerSentEvents be marshalled to a HttpResponse.