Class EventStreamMarshalling$
java.lang.Object
org.apache.pekko.http.javadsl.marshalling.sse.EventStreamMarshalling$
Using
eventStreamMarshaller lets a source of ServerSentEvents be marshalled to 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 TypeMethodDescriptionMarshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>, RequestEntity> Lets a source ofServerSentEvents be marshalled to aHttpResponse.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
EventStreamMarshalling$
public EventStreamMarshalling$()
-
-
Method Details
-
toEventStream
public Marshaller<org.apache.pekko.stream.javadsl.Source<ServerSentEvent,org.apache.pekko.NotUsed>, toEventStream()RequestEntity> Lets a source ofServerSentEvents be marshalled to aHttpResponse.- Returns:
- (undocumented)
-