serviceHandler.setHandlerResolver(
new SimpleHttpRequestHandlerResolver(requestHandler));
serviceHandler.setEventListener(
new SimpleEventListener());
final ThrottlingHttpClientHandler clientHandler = new ThrottlingHttpClientHandler(
HttpClientNio.DEFAULT_HTTP_PROC,
requestExecutionHandler,
DefaultConnectionReuseStrategy.INSTANCE,
this.execService,
this.params);
clientHandler.setEventListener(
new SimpleEventListener());
this.server.start(serviceHandler);
this.client.start(clientHandler);