Class ServerSentEventParser

  • All Implemented Interfaces:
    akka.stream.Graph<akka.stream.FlowShape<java.lang.String,​ServerSentEvent>,​akka.NotUsed>

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

      Nested Classes 
      Modifier and Type Class Description
      static class  ServerSentEventParser.Builder  
      static class  ServerSentEventParser.PosInt$  
      • Nested classes/interfaces inherited from interface akka.stream.Graph

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      akka.stream.stage.GraphStageLogic createLogic​(akka.stream.Attributes attributes)  
      akka.stream.FlowShape<java.lang.String,​ServerSentEvent> 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
      • Methods inherited from class java.lang.Object

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

      • ServerSentEventParser

        public ServerSentEventParser​(int maxEventSize,
                                     boolean emitEmptyEvents)
    • Method Detail

      • shape

        public akka.stream.FlowShape<java.lang.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<java.lang.String,​ServerSentEvent>>