Package akka.http.impl.engine.http2
Class Http2StreamHandling.ReceivingDataWithBuffer
- java.lang.Object
-
- akka.http.impl.engine.http2.Http2StreamHandling.StreamState
-
- akka.http.impl.engine.http2.Http2StreamHandling.ReceivingData
-
- akka.http.impl.engine.http2.Http2StreamHandling.ReceivingDataWithBuffer
-
- Direct Known Subclasses:
Http2StreamHandling.HalfClosedLocal
,Http2StreamHandling.Open
,Http2StreamHandling.OpenReceivingDataFirst
- Enclosing interface:
- Http2StreamHandling
public abstract static class Http2StreamHandling.ReceivingDataWithBuffer extends Http2StreamHandling.ReceivingData
-
-
Constructor Summary
Constructors Constructor Description ReceivingDataWithBuffer(Http2StreamHandling.StreamState afterEndStreamReceived)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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-
Methods inherited from class akka.http.impl.engine.http2.Http2StreamHandling.ReceivingData
handle
-
Methods inherited from class akka.http.impl.engine.http2.Http2StreamHandling.StreamState
dispatchStream, expectIncomingStream, handleOutgoingCreated, handleOutgoingCreatedAndFinished, handleOutgoingEnded, handleOutgoingFailed, pullNextFrame, receivedUnexpectedFrame, stateName
-
-
-
-
Constructor Detail
-
ReceivingDataWithBuffer
public ReceivingDataWithBuffer(Http2StreamHandling.StreamState afterEndStreamReceived)
-
-
Method Detail
-
afterBufferEvent
public Http2StreamHandling.StreamState afterBufferEvent()
-
buffer
protected abstract Http2StreamHandling.IncomingStreamBuffer buffer()
-
incomingStreamPulled
public Http2StreamHandling.StreamState incomingStreamPulled()
- Overrides:
incomingStreamPulled
in classHttp2StreamHandling.StreamState
-
incrementWindow
public abstract Http2StreamHandling.StreamState incrementWindow(int delta)
- Specified by:
incrementWindow
in classHttp2StreamHandling.ReceivingData
-
onDataFrame
protected Http2StreamHandling.StreamState onDataFrame(FrameEvent.DataFrame dataFrame)
- Specified by:
onDataFrame
in classHttp2StreamHandling.ReceivingData
-
onRstStreamFrame
protected void onRstStreamFrame(FrameEvent.RstStreamFrame rstStreamFrame)
- Specified by:
onRstStreamFrame
in classHttp2StreamHandling.ReceivingData
-
onTrailer
protected Http2StreamHandling.StreamState onTrailer(FrameEvent.ParsedHeadersFrame parsedHeadersFrame)
- Specified by:
onTrailer
in classHttp2StreamHandling.ReceivingData
-
shutdown
public void shutdown()
Description copied from class:Http2StreamHandling.StreamState
Called to cleanup any state when the connection is torn down- Overrides:
shutdown
in classHttp2StreamHandling.StreamState
-
-