Class EventStreamMarshalling$

java.lang.Object
akka.http.javadsl.marshalling.sse.EventStreamMarshalling$

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

    • MODULE$

      public static final EventStreamMarshalling$ 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>,RequestEntity> toEventStream()
      Lets a source of ServerSentEvents be marshalled to a HttpResponse.
      Returns:
      (undocumented)