List of usage examples for io.netty.handler.codec.http2 DefaultHttp2GoAwayFrame DefaultHttp2GoAwayFrame
public DefaultHttp2GoAwayFrame(long errorCode)
From source file:org.wso2.carbon.inbound.endpoint.protocol.http2.Http2FrameListenAdapter.java
License:Open Source License
@Override public void onGoAwayRead(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData) throws Http2Exception { ctx.fireChannelRead(/*ww w. j a v a 2 s . c o m*/ new DefaultHttp2GoAwayFrame(errorCode).replace(debugData).setExtraStreamIds(lastStreamId)); }