public class EventStreamUnmarshalling$
extends java.lang.Object
fromEventStream
lets a HttpEntity
with a text/event-stream
media type be unmarshalled to a source of
ServerSentEvent
s.Modifier and Type | Field and Description |
---|---|
static EventStreamUnmarshalling$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
EventStreamUnmarshalling$() |
Modifier and Type | Method and Description |
---|---|
Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>> |
fromEventStream()
Lets a
HttpEntity with a text/event-stream media type be unmarshalled to a source of ServerSentEvent s. |
public static final EventStreamUnmarshalling$ MODULE$
public Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>> fromEventStream()
HttpEntity
with a text/event-stream
media type be unmarshalled to a source of ServerSentEvent
s.