RFR: 8087112: HTTP API and HTTP/1.1 implementation
Michael McMahon
michael.x.mcmahon at oracle.com
Wed Sep 30 16:35:48 UTC 2015
On 30/09/15 17:34, Michael McMahon wrote:
> Hi,
>
> A new revision of the API can be seen at:
>
> http://cr.openjdk.java.net/~michaelm/8087112/04/
>
> The main changes are:
>
> - package name change. Moved to own package java.net.httpclient
>
> - proxy setting uses ProxySelector (a static factory method will be added
> to ProxySelector for setting a simple fixed address for all proxies).
> Using ProxySelector gives access to system default proxies.
>
> - HttpResponseBodyProcessor uses flow control based on Flow api.
>
> - miscellaneous doc cleanups/clarifications
>
> Thanks,
> Michael
Also, an explicit timeout is added and a TimeoutException thrown
when responses are not received within specified time.
Michael
More information about the net-dev
mailing list