Class EventStreamMarshalling$
java.lang.Object
org.apache.pekko.http.scaladsl.marshalling.sse.EventStreamMarshalling$
- All Implemented Interfaces:
EventStreamMarshalling
Importing
EventStreamMarshalling.toEventStream lets a source of ServerSentEvents be marshalled to a
HttpEntity and hence as a HttpResponse.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventStreamMarshalling$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Marshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,Object>, RequestEntity>
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
EventStreamMarshalling$
public EventStreamMarshalling$()
-
-
Method Details
-
toEventStream
public final Marshaller<org.apache.pekko.stream.scaladsl.Source<ServerSentEvent,Object>, toEventStream()RequestEntity> - Specified by:
toEventStreamin interfaceEventStreamMarshalling
-