}
httppost.setEntity(new UrlEncodedFormEntity(list, request.getCharset()));
}
Map<String, String> headerMap = request.getHeaderMap();
for(String key: headerMap.keySet()){
httppost.addHeader(key, headerMap.get(key));
}
QQHttpPostRequestProducer producer = new QQHttpPostRequestProducer(httphost, httppost, listener);
QQHttpResponseConsumer consumer = new QQHttpResponseConsumer(request,listener, cookieJar);
QQHttpResponseCallback callback = new QQHttpResponseCallback(listener);
Future<QQHttpResponse> future = asyncHttpClient.execute( producer, consumer, callback);