Class ServerSentEventParser
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
-
- akka.stream.stage.GraphStage<akka.stream.FlowShape<java.lang.String,ServerSentEvent>>
-
- akka.http.scaladsl.unmarshalling.sse.ServerSentEventParser
-
- All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<java.lang.String,ServerSentEvent>,akka.NotUsed>
public final class ServerSentEventParser extends akka.stream.stage.GraphStage<akka.stream.FlowShape<java.lang.String,ServerSentEvent>>
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerSentEventParser.Builder
static class
ServerSentEventParser.PosInt$
-
Constructor Summary
Constructors Constructor Description ServerSentEventParser(int maxEventSize, boolean emitEmptyEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description akka.stream.stage.GraphStageLogic
createLogic(akka.stream.Attributes attributes)
akka.stream.FlowShape<java.lang.String,ServerSentEvent>
shape()
-
-
-
Method Detail
-
shape
public akka.stream.FlowShape<java.lang.String,ServerSentEvent> shape()
-
createLogic
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes attributes)
- Specified by:
createLogic
in classakka.stream.stage.GraphStage<akka.stream.FlowShape<java.lang.String,ServerSentEvent>>
-
-