Uses of Class
io.netty.bootstrap.Bootstrap
Packages that use Bootstrap
Package
Description
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
Implementations and API for
Channel
pools.An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
-
Uses of Bootstrap in io.netty.bootstrap
Methods in io.netty.bootstrap that return BootstrapModifier and TypeMethodDescriptionBootstrap.clone()
Bootstrap.clone
(EventLoopGroup group) Returns a deep clone of this bootstrap which has the identical configuration except that it uses the givenEventLoopGroup
.Bootstrap.disableResolver()
Disables address name resolution.Bootstrap.remoteAddress
(String inetHost, int inetPort) Bootstrap.remoteAddress
(InetAddress inetHost, int inetPort) Bootstrap.remoteAddress
(SocketAddress remoteAddress) TheSocketAddress
to connect to once theconnect()
method is called.Bootstrap.resolver
(AddressResolverGroup<?> resolver) Sets theNameResolver
which will resolve the address of the unresolved named address.Bootstrap.validate()
Constructors in io.netty.bootstrap with parameters of type Bootstrap -
Uses of Bootstrap in io.netty.channel.pool
Fields in io.netty.channel.pool declared as BootstrapMethods in io.netty.channel.pool that return BootstrapModifier and TypeMethodDescriptionprotected Bootstrap
SimpleChannelPool.bootstrap()
Returns theBootstrap
this pool will use to open new connections.Methods in io.netty.channel.pool with parameters of type BootstrapModifier and TypeMethodDescriptionprotected ChannelFuture
SimpleChannelPool.connectChannel
(Bootstrap bs) Bootstrap a newChannel
.Constructors in io.netty.channel.pool with parameters of type BootstrapModifierConstructorDescriptionFixedChannelPool
(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. -
Uses of Bootstrap in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as BootstrapModifier and TypeFieldDescriptionprivate final Bootstrap
DnsNameResolver.DnsResolveChannelPerResolutionProvider.bootstrap
private final Bootstrap
DnsNameResolver.socketBootstrap
private final Bootstrap
DnsQueryContext.socketBootstrap
Methods in io.netty.resolver.dns with parameters of type BootstrapModifier and TypeMethodDescriptionprivate static DnsNameResolver.DnsResolveChannelProvider
DnsNameResolver.newProvider
(DnsNameResolverChannelStrategy channelStrategy, Bootstrap bootstrap, SocketAddress localAddress) private static ChannelFuture
DnsNameResolver.registerOrBind
(Bootstrap bootstrap, SocketAddress localAddress) Constructors in io.netty.resolver.dns with parameters of type BootstrapModifierConstructorDescription(package private)
DatagramDnsQueryContext
(Channel channel, InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse, InetSocketAddress>> promise, Bootstrap socketBootstrap, boolean retryWithTcpOnTimeout) (package private)
DnsQueryContext
(Channel channel, InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse, InetSocketAddress>> promise, Bootstrap socketBootstrap, boolean retryWithTcpOnTimeout) (package private)
DnsResolveChannelPerResolutionProvider
(Bootstrap bootstrap, SocketAddress localAddress) (package private)
DnsResolveChannelPerResolverProvider
(Bootstrap bootstrap, SocketAddress localAddress)