Class Http2StreamHandling.OutStreamImpl

    • Constructor Detail

      • OutStreamImpl

        public OutStreamImpl​(int streamId,
                             akka.util.OptionVal<akka.stream.stage.GraphStageLogic.SubSinkInlet<?>> maybeInlet,
                             int outboundWindowLeft,
                             akka.util.OptionVal<FrameEvent.ParsedHeadersFrame> trailer)
    • Method Detail

      • addAllData

        public void addAllData​(akka.util.ByteString data)
      • bufferedBytes

        public int bufferedBytes()
      • endStreamSent

        public boolean endStreamSent()
      • enqueueIfPossible

        public void enqueueIfPossible()
      • onPush

        public void onPush()
        Specified by:
        onPush in interface akka.stream.stage.InHandler
      • onUpstreamFailure

        public void onUpstreamFailure​(java.lang.Throwable ex)
        Specified by:
        onUpstreamFailure in interface akka.stream.stage.InHandler
      • onUpstreamFinish

        public void onUpstreamFinish()
        Specified by:
        onUpstreamFinish in interface akka.stream.stage.InHandler
      • outboundWindowLeft

        public int outboundWindowLeft()
      • registerIncomingData

        public void registerIncomingData​(akka.stream.stage.GraphStageLogic.SubSinkInlet<?> inlet)
      • streamId

        public int streamId()