ClientBuilder.safeBuild(ClientBuilder.get()
.codec(Http.get())
.hosts("localhost:10000")
.hostConnectionLimit(1));
Request request = Request.apply("/");
Future<Response> response = client.apply(request);
response.addEventListener(
new FutureEventListener<Response>() {
public void onSuccess(Response response) {