Class EventStreamUnmarshalling$
- java.lang.Object
-
- akka.http.scaladsl.unmarshalling.sse.EventStreamUnmarshalling$
-
- All Implemented Interfaces:
EventStreamUnmarshalling
public class EventStreamUnmarshalling$ extends java.lang.Object implements EventStreamUnmarshalling
ImportingEventStreamUnmarshalling.fromEventsStreamlets anHttpEntitywith atext/event-streammedia type be unmarshalled to a source ofServerSentEvents.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
akka.http.sse.max-event-sizeandakka.http.sse.max-line-sizeproperties respectively.
-
-
Field Summary
Fields Modifier and Type Field Description static EventStreamUnmarshalling$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EventStreamUnmarshalling$()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Unmarshaller<HttpEntity,akka.stream.scaladsl.Source<ServerSentEvent,akka.NotUsed>>fromEventStream()Deprecated.Binary compatibility method.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.unmarshalling.sse.EventStreamUnmarshalling
fromEventsStream, fromEventsStream, fromEventsStream, maxEventSize, maxLineSize
-
-
-
-
Field Detail
-
MODULE$
public static final EventStreamUnmarshalling$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
fromEventStream
public final Unmarshaller<HttpEntity,akka.stream.scaladsl.Source<ServerSentEvent,akka.NotUsed>> fromEventStream()
Deprecated.Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since 10.1.8.- Specified by:
fromEventStreamin interfaceEventStreamUnmarshalling
-
-