public final class Http2ClientStreamFrameResponseHandler extends SimpleChannelInboundHandler<Http2StreamFrame>
ChannelHandler.Sharable
Constructor and Description |
---|
Http2ClientStreamFrameResponseHandler() |
Modifier and Type | Method and Description |
---|---|
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
public Http2ClientStreamFrameResponseHandler()
protected void channelRead0(ChannelHandlerContext ctx, Http2StreamFrame msg) throws Exception
SimpleChannelInboundHandler
I
.channelRead0
in class SimpleChannelInboundHandler<Http2StreamFrame>
ctx
- the ChannelHandlerContext
which this SimpleChannelInboundHandler
belongs tomsg
- the message to handleException
- is thrown if an error occurredpublic boolean responseSuccessfullyCompleted()
Copyright © 2008–2020 The Netty Project. All rights reserved.