java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<S,org.apache.pekko.NotUsed>
org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,String>>
org.apache.pekko.http.scaladsl.unmarshalling.sse.LineParser
All Implemented Interfaces:
org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,String>,org.apache.pekko.NotUsed>

public final class LineParser extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,String>>
INTERNAL API
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.pekko.stream.Graph

    org.apache.pekko.stream.Graph.GraphMapMatVal<S extends org.apache.pekko.stream.Shape,M extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    LineParser(int maxLineSize)
     
    LineParser(int maxLineSize, OversizedSseStrategy oversizedStrategy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.pekko.stream.stage.GraphStageLogic
    createLogic(org.apache.pekko.stream.Attributes attributes)
     
    org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,String>
     

    Methods inherited from class org.apache.pekko.stream.stage.GraphStage

    createLogicAndMaterializedValue

    Methods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue

    addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LineParser

      public LineParser(int maxLineSize, OversizedSseStrategy oversizedStrategy)
    • LineParser

      public LineParser(int maxLineSize)
  • Method Details

    • shape

      public org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,String> shape()
    • createLogic

      public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes attributes)
      Specified by:
      createLogic in class org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,String>>