Class ServerSentEventParser

java.lang.Object
akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
akka.stream.stage.GraphStage<akka.stream.FlowShape<String,ServerSentEvent>>
akka.http.scaladsl.unmarshalling.sse.ServerSentEventParser
All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<String,ServerSentEvent>,akka.NotUsed>

public final class ServerSentEventParser extends akka.stream.stage.GraphStage<akka.stream.FlowShape<String,ServerSentEvent>>
INTERNAL API
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
    static final class 
     

    Nested classes/interfaces inherited from interface akka.stream.Graph

    akka.stream.Graph.GraphMapMatVal<S extends akka.stream.Shape,M extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerSentEventParser(int maxEventSize, boolean emitEmptyEvents)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    akka.stream.stage.GraphStageLogic
    createLogic(akka.stream.Attributes attributes)
     
    akka.stream.FlowShape<String,ServerSentEvent>
     

    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

    Methods inherited from class java.lang.Object

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

    • ServerSentEventParser

      public ServerSentEventParser(int maxEventSize, boolean emitEmptyEvents)
  • Method Details

    • shape

      public akka.stream.FlowShape<String,ServerSentEvent> shape()
    • createLogic

      public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes attributes)
      Specified by:
      createLogic in class akka.stream.stage.GraphStage<akka.stream.FlowShape<String,ServerSentEvent>>