Httpclient 4.3 with FutureRequestExecutionService

A while ago, I contributed some of my github code to Apache Httpclient, which is now out in a new 4.3 GA release with my contributed functionality. If you use Java and make http requests, you probably already use httpclient (or something similar). If not, you might want to try it. Anyway, now you can wrap your Httpclient requests with Futures.

This is very useful for any server that needs to make multiple requests in one transaction. Using futures you can concurrently schedule the requests and use a timeout to guarantee that one rogue request doesn’t end up blocking your response for too long.

Read the documentation for FutureRequestExecutionService here or download httpclient 4.3.

Leave a Reply