public interface Http2StreamHandling
Handles the 'incoming' side of HTTP/2 streams.
Accepts FrameEvent
s from the network side and emits ByteHttp2SubStream
s for streams
to be handled by the Akka HTTP layer.
Mixed into the Http2ServerDemux graph logic.
Modifier and Type | Interface and Description |
---|---|
static class |
Http2StreamHandling.Closed$ |
static class |
Http2StreamHandling.HalfClosedLocal
We have closed the outgoing stream, but the incoming stream is still going.
|
static class |
Http2StreamHandling.HalfClosedLocal$ |
static class |
Http2StreamHandling.HalfClosedRemote$
They have closed the incoming stream, but the outgoing stream is still going.
|
static class |
Http2StreamHandling.Idle$ |
static class |
Http2StreamHandling.IncomingStreamBuffer |
static class |
Http2StreamHandling.IncomingStreamState
https://http2.github.io/http2-spec/#StreamStates
|
static class |
Http2StreamHandling.Open |
static class |
Http2StreamHandling.Open$ |
static class |
Http2StreamHandling.ReceivingData |
Http2StreamHandling.Idle$ Idle()
Http2StreamHandling.HalfClosedRemote$ HalfClosedRemote()
Http2StreamHandling.Closed$ Closed()
Http2Multiplexer multiplexer()
Http2ServerSettings settings()
void pushGOAWAY(Http2Protocol.ErrorCode errorCode, java.lang.String debug)
void dispatchSubstream(Http2SubStream sub)
boolean isUpgraded()
IncomingFlowController flowController()
Http2StreamHandling.IncomingStreamState streamFor(int streamId)
void handleStreamEvent(FrameEvent.StreamFrameEvent e)
void handleOutgoingEnded(int streamId)
void updateState(int streamId, scala.Function1<Http2StreamHandling.IncomingStreamState,Http2StreamHandling.IncomingStreamState> handle)
void shutdownStreamHandling()
void resetStream(int streamId, Http2Protocol.ErrorCode errorCode)