public final class Http2ClientStreamFrameResponseHandler extends SimpleChannelInboundHandler<Http2StreamFrame>
ChannelHandler.Sharable
构造器和说明 |
---|
Http2ClientStreamFrameResponseHandler() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
channelRead0(ChannelHandlerContext ctx,
Http2StreamFrame msg)
Is called for each message of type
I . |
boolean |
responseSuccessfullyCompleted()
Waits for the latch to be decremented (i.e. for an end of stream message to be received), or for
the latch to expire after 5 seconds.
|
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded, handlerRemoved
protected void channelRead0(ChannelHandlerContext ctx, Http2StreamFrame msg) throws java.lang.Exception
SimpleChannelInboundHandler
I
.channelRead0
在类中 SimpleChannelInboundHandler<Http2StreamFrame>
ctx
- the ChannelHandlerContext
which this SimpleChannelInboundHandler
belongs tomsg
- the message to handlejava.lang.Exception
- is thrown if an error occurredpublic boolean responseSuccessfullyCompleted()