Ron Reynolds
2017-09-22 19:07:42 UTC
httpclient.execute(producer3, consumer3, new FutureCallback<HttpResponse>()
{
public void completed(final HttpResponse response3) {
latch2.countDown();
System.out.println(request2.getRequestLine() + "->" +
response3.getStatusLine());
}
public void failed(final Exception ex) {
latch2.countDown();
System.out.println(request2.getRequestLine() + "->" + ex);
}
public void cancelled() {
latch2.countDown();
System.out.println(request2.getRequestLine() + " cancelled");
}
});
i believe all the "request2"s should be "request3"s.
wasn't sure if there was a better list to send this errata to...
{
public void completed(final HttpResponse response3) {
latch2.countDown();
System.out.println(request2.getRequestLine() + "->" +
response3.getStatusLine());
}
public void failed(final Exception ex) {
latch2.countDown();
System.out.println(request2.getRequestLine() + "->" + ex);
}
public void cancelled() {
latch2.countDown();
System.out.println(request2.getRequestLine() + " cancelled");
}
});
i believe all the "request2"s should be "request3"s.
wasn't sure if there was a better list to send this errata to...