protected class DefaultHttpClient.HttpClientInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
| Modifier | Constructor and Description | 
|---|---|
| protected  | HttpClientInitializer(io.netty.handler.ssl.SslContext sslContext,
                     String host,
                     int port,
                     boolean stream,
                     boolean acceptsEvents) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addFinalHandler(io.netty.channel.ChannelPipeline pipeline)Allows overriding the final handler added to the pipeline. | 
| protected void | initChannel(io.netty.channel.Channel ch) | 
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedprotected HttpClientInitializer(io.netty.handler.ssl.SslContext sslContext,
                                String host,
                                int port,
                                boolean stream,
                                boolean acceptsEvents)
sslContext - The ssl contexthost - The hostport - The portstream - Whether is streamacceptsEvents - Whether an event stream is acceptedprotected void initChannel(io.netty.channel.Channel ch)
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>ch - The channelprotected void addFinalHandler(io.netty.channel.ChannelPipeline pipeline)
pipeline - The pipeline