pipeline.addLast("ssl", sslHelper.createSslHandler(vertx, true, host, port));
}
pipeline.addLast("codec", new HttpClientCodec(4096, 8192, 8192, false, false));
if (options.isTryUseCompression()) {
pipeline.addLast("inflater", new HttpContentDecompressor(true));
}
if (options.getIdleTimeout() > 0) {
pipeline.addLast("idle", new IdleStateHandler(0, 0, options.getIdleTimeout()));
}
pipeline.addLast("handler", new ClientHandler(context));