Category «HttpClient»

Binding local IP to Apache HttpClient 4

If you have more than two network cards on your machine and you would like to pick which one you would like to use with Apache HttpClient 4 then this guide will show you how to achieve it. We can set which NIC to use by constructing a RequestConfig object. Here is an example below …