Class EventStreamMarshalling
java.lang.Object
org.apache.pekko.http.javadsl.marshalling.sse.EventStreamMarshalling
Using 
eventStreamMarshaller lets a source of ServerSentEvents be marshalled to a HttpResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Marshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>, RequestEntity> Lets a source ofServerSentEvents be marshalled to aHttpResponse.
- 
Constructor Details- 
EventStreamMarshallingpublic EventStreamMarshalling()
 
- 
- 
Method Details- 
toEventStreampublic static Marshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>, toEventStream()RequestEntity> Lets a source ofServerSentEvents be marshalled to aHttpResponse.- Returns:
- (undocumented)
 
 
-