Class LineParser
java.lang.Object
akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,String>>
akka.http.scaladsl.unmarshalling.sse.LineParser
- All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<akka.util.ByteString,
String>, akka.NotUsed>
public final class LineParser
extends akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,String>>
INTERNAL API
-
Nested Class Summary
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 TypeMethodDescriptionstatic byte
CR()
akka.stream.stage.GraphStageLogic
createLogic
(akka.stream.Attributes attributes) static byte
LF()
akka.stream.FlowShape<akka.util.ByteString,
String> 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
-
LineParser
public LineParser(int maxLineSize)
-
-
Method Details
-
CR
public static byte CR() -
LF
public static byte LF() -
shape
-
createLogic
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes attributes) - Specified by:
createLogic
in classakka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,
String>>
-