Releases: urgrue/java-async-http
Releases · urgrue/java-async-http
Release 2.1.2
Changelog
- Files can now be downloaded and progress tracked asynchronously with
onProgressChanged() - User can now specify whether to automatically follow redirects (3xx status codes)
- Added HTTP Basic Authentication support
onStart()andonFinish()callbacks added.onStart()is called after setup but before making the request.onFinish()is called after the request is made and response has been read.- File uploads now supported through
RequestParams - Improved Javadoc documentation
Release #2
Changelog
HttpResponsehas been removed. All relevant response data is now sent individually in the callback method signature.- Responses are now read as byte arrays rather than Strings. Use
StringHttpResponseHandlerfor String callbacks. - Response content encoding is now honored. Strings will be automatically encoded prior to callbacks.
HttpClientis now abstract. UseSyncHttpClientfor synchronous HTTP requests.RequestParamsnow accepts primitives as values when callingput()and will convert them to string before storing them.