Class ServerSentEventParser
java.lang.Object
akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
akka.stream.stage.GraphStage<akka.stream.FlowShape<String,ServerSentEvent>>
akka.http.scaladsl.unmarshalling.sse.ServerSentEventParser
- All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<String,
ServerSentEvent>, akka.NotUsed>
public final class ServerSentEventParser
extends akka.stream.stage.GraphStage<akka.stream.FlowShape<String,ServerSentEvent>>
INTERNAL API
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from interface akka.stream.Graph
akka.stream.Graph.GraphMapMatVal<S extends akka.stream.Shape,
M extends Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionakka.stream.stage.GraphStageLogic
createLogic
(akka.stream.Attributes attributes) akka.stream.FlowShape<String,
ServerSentEvent> shape()
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
-
Constructor Details
-
ServerSentEventParser
public ServerSentEventParser(int maxEventSize, boolean emitEmptyEvents)
-
-
Method Details
-
shape
-
createLogic
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes attributes) - Specified by:
createLogic
in classakka.stream.stage.GraphStage<akka.stream.FlowShape<String,
ServerSentEvent>>
-