On Tue, 2015-07-28 at 16:54 +0530, Shushant Arora wrote: > Hi > > I am using org.apache.http.impl.nio.client.CloseableHttpAsyncClient > (httpasyncclient-4.1.jar). > > In callbackof httpGet Request i.e FutureCallback<HttpResponse> there are 3 > methods but no way to get the request context for which reponse came. > > How can I get the request url of this reponse or some identifier to retry > the request? > > Thanks
Nothing stops you from passing whatever context your callback requires at construction time. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
