private static final class Http2FrameCodec.InternalHttp2ConnectionHandler extends Http2ConnectionHandler
ByteToMessageDecoder.Cumulator
ChannelHandler.Sharable
COMPOSITE_CUMULATOR, MERGE_CUMULATOR
Constructor and Description |
---|
InternalHttp2ConnectionHandler(Http2ConnectionDecoder decoder,
Http2ConnectionEncoder encoder,
Http2Settings initialSettings) |
Modifier and Type | Method and Description |
---|---|
protected void |
onStreamError(ChannelHandlerContext ctx,
java.lang.Throwable cause,
Http2Exception.StreamException http2Ex)
Handler for a stream error.
|
bind, channelActive, channelInactive, channelReadComplete, channelWritabilityChanged, close, closeStream, closeStreamLocal, closeStreamRemote, connect, connection, decode, decoder, deregister, disconnect, encoder, exceptionCaught, flush, frameWriter, goAway, gracefulShutdownTimeoutMillis, gracefulShutdownTimeoutMillis, handlerAdded, handlerRemoved0, handleServerHeaderDecodeSizeError, isGracefulShutdownComplete, onConnectionError, onError, onHttpClientUpgrade, onHttpServerUpgrade, read, resetStream, write
actualReadableBytes, callDecode, channelRead, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelRegistered, channelUnregistered
ensureNotSharable, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerRemoved
InternalHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings)
protected void onStreamError(ChannelHandlerContext ctx, java.lang.Throwable cause, Http2Exception.StreamException http2Ex)
Http2ConnectionHandler
RST_STREAM
frame to the remote endpoint and closes the
stream.onStreamError
in class Http2ConnectionHandler
ctx
- the channel contextcause
- the exception that was caughthttp2Ex
- the Http2Exception.StreamException
that is embedded in the causality chain.