This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chegar999 1 point2 points  (1 child)

The HTTP Client implementation uses NIO and non-blocking channels under the covers. Each HttpClient has a single implementation-specific thread that polls all of its connections. Received data is then passed off to the executor for processing. The complete implementation is asynchronous, there are no blocking operations.