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.Constructor and Description |
---|
EventStreamUnmarshalling() |
Modifier and Type | Method and Description |
---|---|
static 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 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.