public abstract static class Http2StreamHandling.ReceivingDataWithBuffer extends Http2StreamHandling.ReceivingData
Constructor and Description |
---|
ReceivingDataWithBuffer(Http2StreamHandling.StreamState afterEndStreamReceived) |
Modifier and Type | Method and Description |
---|---|
Http2StreamHandling.StreamState |
afterBufferEvent() |
protected abstract Http2StreamHandling.IncomingStreamBuffer |
buffer() |
Http2StreamHandling.StreamState |
incomingStreamPulled() |
abstract Http2StreamHandling.StreamState |
incrementWindow(int delta) |
protected Http2StreamHandling.StreamState |
onDataFrame(FrameEvent.DataFrame dataFrame) |
protected void |
onRstStreamFrame(FrameEvent.RstStreamFrame rstStreamFrame) |
protected Http2StreamHandling.StreamState |
onTrailer(FrameEvent.ParsedHeadersFrame parsedHeadersFrame) |
void |
shutdown()
Called to cleanup any state when the connection is torn down
|
handle
dispatchStream, expectIncomingStream, handleOutgoingCreated, handleOutgoingCreatedAndFinished, handleOutgoingEnded, handleOutgoingFailed, pullNextFrame, receivedUnexpectedFrame, stateName
public ReceivingDataWithBuffer(Http2StreamHandling.StreamState afterEndStreamReceived)
public Http2StreamHandling.StreamState afterBufferEvent()
protected abstract Http2StreamHandling.IncomingStreamBuffer buffer()
public Http2StreamHandling.StreamState incomingStreamPulled()
incomingStreamPulled
in class Http2StreamHandling.StreamState
public abstract Http2StreamHandling.StreamState incrementWindow(int delta)
incrementWindow
in class Http2StreamHandling.ReceivingData
protected Http2StreamHandling.StreamState onDataFrame(FrameEvent.DataFrame dataFrame)
onDataFrame
in class Http2StreamHandling.ReceivingData
protected void onRstStreamFrame(FrameEvent.RstStreamFrame rstStreamFrame)
onRstStreamFrame
in class Http2StreamHandling.ReceivingData
protected Http2StreamHandling.StreamState onTrailer(FrameEvent.ParsedHeadersFrame parsedHeadersFrame)
onTrailer
in class Http2StreamHandling.ReceivingData
public void shutdown()
Http2StreamHandling.StreamState
shutdown
in class Http2StreamHandling.StreamState