Uses of Class
io.netty.bootstrap.Bootstrap
-
Packages that use Bootstrap Package Description io.netty.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.io.netty.channel.pool Implementations and API forChannelpools. -
-
Uses of Bootstrap in io.netty.bootstrap
Methods in io.netty.bootstrap that return Bootstrap Modifier and Type Method Description BootstrapBootstrap. clone()BootstrapBootstrap. clone(EventLoopGroup group)Returns a deep clone of this bootstrap which has the identical configuration except that it uses the givenEventLoopGroup.BootstrapBootstrap. disableResolver()Disables address name resolution.BootstrapBootstrap. remoteAddress(java.lang.String inetHost, int inetPort)BootstrapBootstrap. remoteAddress(java.net.InetAddress inetHost, int inetPort)BootstrapBootstrap. remoteAddress(java.net.SocketAddress remoteAddress)TheSocketAddressto connect to once theconnect()method is called.BootstrapBootstrap. resolver(AddressResolverGroup<?> resolver)Sets theNameResolverwhich will resolve the address of the unresolved named address.BootstrapBootstrap. validate() -
Uses of Bootstrap in io.netty.channel.pool
Methods in io.netty.channel.pool that return Bootstrap Modifier and Type Method Description protected BootstrapSimpleChannelPool. bootstrap()Returns theBootstrapthis pool will use to open new connections.Methods in io.netty.channel.pool with parameters of type Bootstrap Modifier and Type Method Description protected ChannelFutureSimpleChannelPool. connectChannel(Bootstrap bs)Bootstrap a newChannel.Constructors in io.netty.channel.pool with parameters of type Bootstrap Constructor Description FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, int maxConnections)Creates a new instance using theChannelHealthChecker.ACTIVE.FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, int maxConnections, int maxPendingAcquires)Creates a new instance using theChannelHealthChecker.ACTIVE.FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, FixedChannelPool.AcquireTimeoutAction action, long acquireTimeoutMillis, int maxConnections, int maxPendingAcquires)Creates a new instance.FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, FixedChannelPool.AcquireTimeoutAction action, long acquireTimeoutMillis, int maxConnections, int maxPendingAcquires, boolean releaseHealthCheck)Creates a new instance.FixedChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, FixedChannelPool.AcquireTimeoutAction action, long acquireTimeoutMillis, int maxConnections, int maxPendingAcquires, boolean releaseHealthCheck, boolean lastRecentUsed)Creates a new instance.SimpleChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler)Creates a new instance using theChannelHealthChecker.ACTIVE.SimpleChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck)Creates a new instance.SimpleChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, boolean releaseHealthCheck)Creates a new instance.SimpleChannelPool(Bootstrap bootstrap, ChannelPoolHandler handler, ChannelHealthChecker healthCheck, boolean releaseHealthCheck, boolean lastRecentUsed)Creates a new instance.
-