Class EventStreamUnmarshalling$
java.lang.Object
org.apache.pekko.http.scaladsl.unmarshalling.sse.EventStreamUnmarshalling$
- All Implemented Interfaces:
EventStreamUnmarshalling
Importing
EventStreamUnmarshalling.fromEventsStream
lets an HttpEntity
with a text/event-stream
media type be
unmarshalled to a source of ServerSentEvent
s.
The maximum size for parsing server-sent events is 8KiB. The maximum size for parsing lines of a server-sent event
is 4KiB. If you need to customize any of these, set the pekko.http.sse.max-event-size
and
pekko.http.sse.max-line-size
properties respectively.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventStreamUnmarshalling$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pekko.http.scaladsl.unmarshalling.sse.EventStreamUnmarshalling
fromEventsStream, fromEventsStream, fromEventsStream
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
EventStreamUnmarshalling$
public EventStreamUnmarshalling$()
-