Class EventStreamMarshalling


  • public class EventStreamMarshalling
    extends java.lang.Object
    Using eventStreamMarshaller lets a source of ServerSentEvents be marshalled to a HttpResponse.
    • Constructor Detail

      • EventStreamMarshalling

        public EventStreamMarshalling()
    • Method Detail

      • toEventStream

        public static Marshaller<akka.stream.javadsl.Source<ServerSentEvent,​akka.NotUsed>,​RequestEntity> toEventStream()
        Lets a source of ServerSentEvents be marshalled to a HttpResponse.
        Returns:
        (undocumented)