Class EventStreamMarshalling$
- java.lang.Object
-
- akka.http.scaladsl.marshalling.sse.EventStreamMarshalling$
-
- All Implemented Interfaces:
EventStreamMarshalling
public class EventStreamMarshalling$ extends java.lang.Object implements EventStreamMarshalling
ImportingEventStreamMarshalling.toEventStream
lets a source ofServerSentEvent
s be marshalled to aHttpEntity
and hence as aHttpResponse
.
-
-
Field Summary
Fields Modifier and Type Field Description static EventStreamMarshalling$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EventStreamMarshalling$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Marshaller<akka.stream.scaladsl.Source<ServerSentEvent,java.lang.Object>,RequestEntity>
toEventStream()
-
-
-
Field Detail
-
MODULE$
public static final EventStreamMarshalling$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
toEventStream
public final Marshaller<akka.stream.scaladsl.Source<ServerSentEvent,java.lang.Object>,RequestEntity> toEventStream()
- Specified by:
toEventStream
in interfaceEventStreamMarshalling
-
-