Package org.mockserver.httpclient
Class Http2SettingsHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http2.Http2Settings>
-
- org.mockserver.httpclient.Http2SettingsHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class Http2SettingsHandler extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http2.Http2Settings>Reads the firstHttp2Settingsobject
-
-
Constructor Summary
Constructors Constructor Description Http2SettingsHandler(CompletableFuture<Protocol> protocolFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidchannelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2Settings http2Settings)-
Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Constructor Detail
-
Http2SettingsHandler
public Http2SettingsHandler(CompletableFuture<Protocol> protocolFuture)
-
-
Method Detail
-
channelRead0
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http2.Http2Settings http2Settings) throws Exception- Specified by:
channelRead0in classio.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http2.Http2Settings>- Throws:
Exception
-
-