Class EventStreamMarshalling$
- java.lang.Object
-
- akka.http.javadsl.marshalling.sse.EventStreamMarshalling$
-
public class EventStreamMarshalling$ extends java.lang.Object
UsingeventStreamMarshaller
lets a source ofServerSentEvent
s be marshalled to aHttpResponse
.
-
-
Field Summary
Fields Modifier and Type Field Description static EventStreamMarshalling$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EventStreamMarshalling$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Marshaller<akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>,RequestEntity>
toEventStream()
Lets a source ofServerSentEvent
s be marshalled to aHttpResponse
.
-
-
-
Field Detail
-
MODULE$
public static final EventStreamMarshalling$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
toEventStream
public Marshaller<akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>,RequestEntity> toEventStream()
Lets a source ofServerSentEvent
s be marshalled to aHttpResponse
.- Returns:
- (undocumented)
-
-