public class Http2ClientInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
| 构造器和说明 |
|---|
Http2ClientInitializer(ClientTransportConfig transportConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
configureEndOfPipeline(io.netty.channel.ChannelPipeline pipeline) |
void |
initChannel(io.netty.channel.socket.SocketChannel ch) |
Http2ClientChannelHandler |
responseHandler() |
Http2SettingsHandler |
settingsHandler() |
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic Http2ClientInitializer(ClientTransportConfig transportConfig)
public void initChannel(io.netty.channel.socket.SocketChannel ch)
throws Exception
initChannel 在类中 io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>Exceptionpublic Http2ClientChannelHandler responseHandler()
public Http2SettingsHandler settingsHandler()
protected void configureEndOfPipeline(io.netty.channel.ChannelPipeline pipeline)
Copyright © 2008–2018 The Ant Financial. All rights reserved.