LOG.debug("Using Netty bootstrap options: " + nettyClientBootstrapOptions); bootstrap.setOptions(nettyClientBootstrapOptions);
bootstrap.setOptions(nettyClientBootstrapOptions);
LOG.debug("Using Netty bootstrap options: " + nettyClientBootstrapOptions); bootstrap.setOptions(nettyClientBootstrapOptions);
bootstrap.setOptions(httpConnectConfig.getTransportOptions()); bootstrap.setOption(format("%s.nextProtocol", schemeName), httpSchemeName);
clientBootstrap = new ClientBootstrap(this.clientBootstrap.getFactory()); clientBootstrap.setPipelineFactory(this.clientBootstrap.getPipelineFactory()); clientBootstrap.setOptions(this.clientBootstrap.getOptions()); clientBootstrap.setOption("connectTimeoutMillis", Math.toIntExact(profile.getConnectTimeout().millis())); connectTimeout = profile.getConnectTimeout();
bootstrap.setOptions(tcpHelper.generateConnectionOptions(false)); ChannelFuture future = bootstrap.connect(new InetSocketAddress(host, port)); future.addListener(new ChannelFutureListener() {
bootstrap.setOptions(tcpHelper.generateConnectionOptions(false)); ChannelFuture future = bootstrap.connect(new InetSocketAddress(host, port)); future.addListener(new ChannelFutureListener() {
bootstrap.setOptions(tlsClientChannel.getConfig().getTransportOptions()); bootstrap.setOption(format("%s.nextProtocol", schemeName), tlsSchemeName);
bootstrap.setOptions(nettyClientConfig.getBootstrapOptions()); bootstrap.setOptions(nettyClientConfig.getBootstrapOptions());