public class BootstrapProvider extends Object
| Modifier and Type | Method and Description |
|---|---|
io.netty.bootstrap.Bootstrap |
createBootstrap(String host,
int port,
Boolean useNonBlockingDnsResolver)
Creates a Bootstrap for a specific host and port with an unresolved InetSocketAddress as the remoteAddress.
|
public io.netty.bootstrap.Bootstrap createBootstrap(String host, int port, Boolean useNonBlockingDnsResolver)
host - The unresolved remote hostnameport - The remote portuseNonBlockingDnsResolver - If true, uses the default non-blocking DNS resolver from Netty. Otherwise, the default
JDK blocking DNS resolver will be used.Copyright © 2023. All rights reserved.