serviceHandler.setHandlerResolver(
new SimpleNHttpRequestHandlerResolver(requestHandler));
serviceHandler.setEventListener(
new SimpleEventListener());
AsyncNHttpClientHandler clientHandler = new AsyncNHttpClientHandler(
HttpClientNio.DEFAULT_HTTP_PROC,
requestExecutionHandler,
DefaultConnectionReuseStrategy.INSTANCE,
this.params);
clientHandler.setEventListener(
new SimpleEventListener());
this.server.start(serviceHandler);
this.client.start(clientHandler);