Class EventStreamMarshalling$
java.lang.Object
akka.http.javadsl.marshalling.sse.EventStreamMarshalling$
Using
eventStreamMarshaller
lets a source of ServerSentEvent
s be marshalled to a HttpResponse
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final EventStreamMarshalling$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMarshaller<akka.stream.javadsl.Source<ServerSentEvent,
akka.NotUsed>, RequestEntity> Lets a source ofServerSentEvent
s be marshalled to aHttpResponse
.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
EventStreamMarshalling$
public EventStreamMarshalling$()
-
-
Method Details
-
toEventStream
public Marshaller<akka.stream.javadsl.Source<ServerSentEvent,akka.NotUsed>, toEventStream()RequestEntity> Lets a source ofServerSentEvent
s be marshalled to aHttpResponse
.- Returns:
- (undocumented)
-