public class EventStreamUnmarshalling
extends java.lang.Object
fromEventsStream lets a HttpEntity with a text/event-stream media type be unmarshalled to a source of
 ServerSentEvents.| Constructor and Description | 
|---|
| EventStreamUnmarshalling() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Unmarshaller<HttpEntity,org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> | fromEventsStream(org.apache.pekko.actor.ActorSystem system)Lets an  HttpEntitywith atext/event-streammedia type be unmarshalled to a source ofServerSentEvents. | 
| static Unmarshaller<HttpEntity,org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> | fromEventsStream(ServerSentEventSettings settings)Lets an  HttpEntitywith atext/event-streammedia type be unmarshalled to a source ofServerSentEvents. | 
| static Unmarshaller<HttpEntity,org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> | fromEventStream()Deprecated. 
 Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since Akka HTTP 10.1.8. | 
public static Unmarshaller<HttpEntity,org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> fromEventsStream(org.apache.pekko.actor.ActorSystem system)
HttpEntity with a text/event-stream media type be unmarshalled to a source of ServerSentEvents.system - (undocumented)public static Unmarshaller<HttpEntity,org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> fromEventsStream(ServerSentEventSettings settings)
HttpEntity with a text/event-stream media type be unmarshalled to a source of ServerSentEvents.settings - overrides the default unmarshalling behavior.public static Unmarshaller<HttpEntity,org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>> fromEventStream()