public class EventStreamMarshalling$
extends java.lang.Object
eventStreamMarshaller lets a source of ServerSentEvents be marshalled to a HttpResponse.| Modifier and Type | Field and Description |
|---|---|
static EventStreamMarshalling$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
EventStreamMarshalling$() |
| Modifier and Type | Method and Description |
|---|---|
Marshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>,RequestEntity> |
toEventStream()
Lets a source of
ServerSentEvents be marshalled to a HttpResponse. |
public static final EventStreamMarshalling$ MODULE$
public Marshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>,RequestEntity> toEventStream()
ServerSentEvents be marshalled to a HttpResponse.