public final class ServerSentEventParser extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.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 |
---|---|
org.apache.pekko.stream.stage.GraphStageLogic |
createLogic(org.apache.pekko.stream.Attributes attributes) |
org.apache.pekko.stream.FlowShape<java.lang.String,ServerSentEvent> |
shape() |
createLogicAndMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
public ServerSentEventParser(int maxEventSize, boolean emitEmptyEvents)
public org.apache.pekko.stream.FlowShape<java.lang.String,ServerSentEvent> shape()
public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes attributes)
createLogic
in class org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<java.lang.String,ServerSentEvent>>