public final class ServerSentEventParser extends akka.stream.stage.GraphStage<akka.stream.FlowShape<java.lang.String,ServerSentEvent>>
Modifier and Type | Class and Description |
---|---|
static class |
ServerSentEventParser.Builder |
static class |
ServerSentEventParser.PosInt$ |
Constructor and Description |
---|
ServerSentEventParser(int maxEventSize,
boolean emitEmptyEvents) |
Modifier and Type | Method and Description |
---|---|
akka.stream.stage.GraphStageLogic |
createLogic(akka.stream.Attributes attributes) |
akka.stream.FlowShape<java.lang.String,ServerSentEvent> |
shape() |
addAttributes, async, async, async, createLogicAndMaterializedValue, initialAttributes, named, traversalBuilder, withAttributes
public ServerSentEventParser(int maxEventSize, boolean emitEmptyEvents)
public akka.stream.FlowShape<java.lang.String,ServerSentEvent> shape()
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes attributes)
createLogic
in class akka.stream.stage.GraphStage<akka.stream.FlowShape<java.lang.String,ServerSentEvent>>