private static final class Http2FrameCodec.InternalHttp2ConnectionHandler extends Http2ConnectionHandler
ByteToMessageDecoder.CumulatorChannelHandler.SharableCOMPOSITE_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, writeactualReadableBytes, callDecode, channelRead, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelRegistered, channelUnregisteredensureNotSharable, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerRemovedInternalHttp2ConnectionHandler(Http2ConnectionDecoder decoder, Http2ConnectionEncoder encoder, Http2Settings initialSettings)
protected void onStreamError(ChannelHandlerContext ctx, java.lang.Throwable cause, Http2Exception.StreamException http2Ex)
Http2ConnectionHandlerRST_STREAM frame to the remote endpoint and closes the
stream.onStreamError in class Http2ConnectionHandlerctx - the channel contextcause - the exception that was caughthttp2Ex - the Http2Exception.StreamException that is embedded in the causality chain.