public class EventStreamMarshalling$
extends java.lang.Object
eventStreamMarshaller
lets a source of ServerSentEvent
s 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
ServerSentEvent s 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()
ServerSentEvent
s be marshalled to a HttpResponse
.