Http client API
Michael McMahon
michael.x.mcmahon at oracle.com
Wed Aug 15 09:53:37 PDT 2012
On 09/08/12 01:49, David M. Lloyd wrote:
> On 08/07/2012 06:09 PM, Michael McMahon wrote:
>> Hi,
>>
>> A new revision of the Http client API planned for jdk 8 can be viewed
>> at the following link
>>
>> http://cr.openjdk.java.net/~michaelm/httpclient/v0.3/
>>
>> We would like to review the api on this mailing list.
>> So, all comments are welcome.
>
> Why not javax.net.httpclient? Having it be backportable to earlier
> JDKs would definitely help adoption IMO.
>
David
The API is dependent on the asynchronous NIO capability that first
appeared in jdk7. So, that would limit
how far back it could be ported. Technically, I don't see a problem with
using a javax. package name
but I'm not sure what precedent there is for doing core platform APIs
under the javax namespace.
What do others think?
- Michael
More information about the net-dev
mailing list