Class EventStreamUnmarshalling$
- java.lang.Object
-
- akka.http.javadsl.unmarshalling.sse.EventStreamUnmarshalling$
-
public class EventStreamUnmarshalling$ extends java.lang.Object
UsingfromEventsStream
lets aHttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.
-
-
Field Summary
Fields Modifier and Type Field Description static EventStreamUnmarshalling$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EventStreamUnmarshalling$()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>>
fromEventsStream(akka.actor.ActorSystem system)
Lets anHttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>>
fromEventsStream(ServerSentEventSettings settings)
Lets anHttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>>
fromEventStream()
Deprecated.Binary compatibility method.
-
-
-
Field Detail
-
MODULE$
public static final EventStreamUnmarshalling$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
fromEventsStream
public Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>> fromEventsStream(akka.actor.ActorSystem system)
Lets anHttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-
fromEventsStream
public Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>> fromEventsStream(ServerSentEventSettings settings)
Lets anHttpEntity
with atext/event-stream
media type be unmarshalled to a source ofServerSentEvent
s.- Parameters:
settings
- overrides the default unmarshalling behavior.- Returns:
- (undocumented)
-
fromEventStream
public Unmarshaller<HttpEntity,akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>> fromEventStream()
Deprecated.Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since 10.1.8.
-
-