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
.
-
-
Constructor Summary
Constructors Constructor Description EventStreamMarshalling()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Marshaller<akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>,RequestEntity>
toEventStream()
Lets a source ofServerSentEvent
s be marshalled to aHttpResponse
.
-
-
-
Method Detail
-
toEventStream
public static Marshaller<akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>,RequestEntity> toEventStream()
Lets a source ofServerSentEvent
s be marshalled to aHttpResponse
.- Returns:
- (undocumented)
-
-