Class EventStreamMarshalling$


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

      • MODULE$

        public static final EventStreamMarshalling$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • EventStreamMarshalling$

        public EventStreamMarshalling$()
    • Method Detail

      • toEventStream

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