Starting with this version, HttpClient's API has undergone a major adjustment. Mainly include the following:
release 4.3 Final-------------------This is the first stable (GA) release of HttpClient 4.3. The most notable enhancements Includedin this release are:* support for Java 7 try-with-resources for resource management (Connection release.) * Added fluent Builder classes for httpentity, HttpRequest, HttpClient and Sslcontext instances.* deprecation of Preferenc E and configuration API based on Httpparams interface in favor Ofconstructor injection and plain configuration objects.* R Eliance on object immutability instead of access synchronization for thread safety. Several old classes whose instances can is shared by multiple request exchanges havebeen replaced by immutable equivalents . * Defaulthttpclient, Decompressinghttpclient, cachinghttpclient and similar classes aredeprecated in favor of builder CL Asses that produce immutable HttpClient instances.* HttpClient Builders now dynamically construct a request execution pipe Line tailoredspecifically to the user configuration by physically excluDing unnecessary protocol components.* There is now an option to construct a minimal HttpClient implementation that can on LY executebasic HTTP message exchanges without redirects, authentication, state management or proxy support. This feature might are of particular use in web crawler development.* There are now option to avoid strict URIs syntax for re Quest URIs by executing HTTP requestswith an explicitly specified target host. HttpClient would no longer attempt to parse the RequestUri if it does not need to extract the target host from it.
HttpClient new and old version split point 4.3