Review of new Http client API

2012-08-14 Thread Michael McMahon
Hi, (apologies for sending this again) We have just published a draft of a proposed new Http client API [1] for JDK 8. This message has been cc'd to jdk8-dev so that as many people as possible know about it, but the discussion will be on the net-dev list (net-dev@openjdk.java.net). So,

Re: Suggestion of combining some macros of processing solaris, macosx with other UNIX

2012-08-14 Thread Alan Bateman
On 14/08/2012 04:11, Frank Ding wrote: On 8/7/2012 1:46 PM, Frank Ding wrote: : Could anybody take a look at my patch below and make comment? http://cr.openjdk.java.net/~youdwei/ojdk-533/webrev.00/ Thanks Best regards, Frank Hi all, Is there anybody who is interested in the patch and who

Re: cross protocol redirects ( was:Re: Http client API )

2012-08-14 Thread Michael McMahon
On 08/08/12 21:35, Chris Hegarty wrote: Great suggestion Anthony, This is something that comes up from time to time. With the clear distinction between java.net.HttpURLConnection and javax.net.ssl.HttpsURLConnection API's then it was a little difficult to do in the existing API, but there is

Re: Suggestion of combining some macros of processing solaris, macosx with other UNIX

2012-08-14 Thread Chris Hegarty
On 14/08/12 13:11, Alan Bateman wrote: On 14/08/2012 04:11, Frank Ding wrote: On 8/7/2012 1:46 PM, Frank Ding wrote: : Could anybody take a look at my patch below and make comment? http://cr.openjdk.java.net/~youdwei/ojdk-533/webrev.00/ Thanks Best regards, Frank Hi all, Is there

Re: Http client API

2012-08-14 Thread Xuelei Fan
On Aug 14, 2012, at 8:49 PM, Michael McMahon michael.x.mcma...@oracle.com wrote: Xuelei, We have no particular requirement on HostnameVerifier. So, if I understood you correctly, HostnameVerifier is redundant in new APIs and it is possible to control hostname verification through the