Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Support HttpClient 4.3.x, Removing Deprecated HttpClient methods and classes #21
This request is to update httpbuilder to use the most recent HttpClient APIs. Notable changes include the removal of HttpParams as a way of configuring settings (this is now RequestConfig), removing deprecated interfaces and abstract/concrete classes (HttpClient, DefaultHttpClient, AbstractHttpClient), and making sure httpbuilder uses non-deprecated CloseableHttpClient methods.
I can pass you a patch, but a word of warning, the new 4.3.1 HttpClients are immutable, which is a change we cannot hide within the HTTPBuilder API, so there will be noticeable changes to the external API. I'll pass it your way for your consideration, feel free to change as you see fit.
In the least if a client can provide the CloseableHttpClient they want to use in HTTPBuilder, this will go a long way.