| |||||
It provides authentication, connection management and cookie management.
This is the successor to the widely used Jakarta Commons HttpClient 3.1.
HttpClient conforms to the following specifications:
* RFC 1945 Hypertext Transfer Protocol -- HTTP/1.0
* RFC 2616 Hypertext Transfer Protocol -- HTTP/1.1
* RFC 2109 HTTP State Management Mechanism (Cookies)
* RFC 2965 HTTP State Management Mechanism (Cookies v2)
* RFC 2617 HTTP Authentication: Basic and Digest Access Authentication
Here are some key features of "Apache HttpComponents Client":
· Supports HTTPS
· Connections through HTTP proxies
· Tunneled HTTPS connections
· Basic authentication schemes
· Plug-in mechanism
· Custom authentication schemes
· Pluggable secure socket factories
· Connection management support
· Detects and closes stale connections
· Automatic Cookie handling
· Custom cookie policies
· Request output streams
· Response input streams
· Persistent connections
· Direct access to the response code and headers sent by the server
· The ability to set connection timeouts
· Standards based
· Pure Java code
· Implements HTTP 1.0 and 1.1
· Supports all HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, and TRACE)
· Written in OOP code
What's New in This Release: [ read full changelog ]
· Support for Java 7 try-with-resources for resource management (connection release.)
· Added fluent Builder classes for HttpEntity, HttpRequest and HttpClient instances.
· Deprecation of preference and configuration API based on HttpParams interface in favor of constructor injection and plain configuration objects.
· Reliance on object immutability instead of access synchronization for thread safety. Several old classes whose instances can be shared by multiple request exchanges have been replaced by immutable equivalents.
· DefaultHttpClient, DecompressingHttpClient, CachingHttpClient and similar classes are deprecated in favor of builder classes that produce immutable HttpClient instances.

Via: Apache HttpComponents Client 4.2.4 / 4.3-beta1






0 Comment:
Post a Comment