Package akka.http.impl.engine.http2
Class Http2StreamHandling.IncomingStreamBuffer
- java.lang.Object
-
- akka.http.impl.engine.http2.Http2StreamHandling.IncomingStreamBuffer
-
- All Implemented Interfaces:
akka.stream.stage.OutHandler
- Enclosing interface:
- Http2StreamHandling
public static class Http2StreamHandling.IncomingStreamBuffer extends java.lang.Object implements akka.stream.stage.OutHandler
-
-
Constructor Summary
Constructors Constructor Description IncomingStreamBuffer(int streamId, akka.stream.stage.GraphStageLogic.SubSourceOutlet<java.lang.Object> outlet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatchNextChunk()
boolean
isDone()
void
onDataFrame(FrameEvent.DataFrame data)
void
onDownstreamFinish(java.lang.Throwable cause)
void
onPull()
void
onRstStreamFrame(FrameEvent.RstStreamFrame rst)
void
onTrailingHeaders(FrameEvent.ParsedHeadersFrame headers)
void
shutdown()
-
-
-
Method Detail
-
dispatchNextChunk
public void dispatchNextChunk()
-
isDone
public boolean isDone()
-
onDataFrame
public void onDataFrame(FrameEvent.DataFrame data)
-
onDownstreamFinish
public void onDownstreamFinish(java.lang.Throwable cause)
- Specified by:
onDownstreamFinish
in interfaceakka.stream.stage.OutHandler
-
onPull
public void onPull()
- Specified by:
onPull
in interfaceakka.stream.stage.OutHandler
-
onRstStreamFrame
public void onRstStreamFrame(FrameEvent.RstStreamFrame rst)
-
onTrailingHeaders
public void onTrailingHeaders(FrameEvent.ParsedHeadersFrame headers)
-
shutdown
public void shutdown()
-
-