2013-04-25 81 views

回答

1

您可以创建NameValueCollection中(这是一个地图状类HTTPResponse的母公司)从类HTTPResponse:

HTTPResponse response; 
// ... 
NameValueCollection nvc(response); 
LRUPersistentCache<string, NameValueCollection> clientCache(100); 
clientCache.add("myresponse", nvc); 
// ...