users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Http client API

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Wed, 8 Aug 2012 21:14:25 +0200

What they have is even lower level than our API (which is IMO good - they just shoot for a library that lets you send/receive HTTP messages). We should be able to build JAX-RS client API on top of that one and ditch the default support for HttpURLConnection (yippee).

So I don't think we should try to replace their API with ours in JDK. Think also about all the consequences:

- being stuck with JavaSE release cycles or forcing users to use the endorsed library mechanisms in case they want to use a newer JAX-RS API or implementation
- need to split the JAX-RS API into client and server part (something I'm not sure is even possible at the moment)
- a hard-to-replace client-side implementation
- ...

Marek

On Aug 8, 2012, at 8:46 PM, Bill Burke <bburke_at_redhat.com> wrote:

> Maybe bring jaxrs client api into java 8 jdk instead of this?
>
>
> -------- Original Message --------
> Subject: Fwd: Http client API
> Date: Wed, 08 Aug 2012 09:58:51 -0500
> From: David M. Lloyd <david.lloyd_at_redhat.com>
> To: The Core <thecore_at_redhat.com>
>
> I know for a fact that there are many of you who have a vested interest
> in HTTP client APIs. Be sure to review this because this is what you'll
> be stuck with post-8.
>
>
> -------- Original Message --------
> Subject: Http client API
> Date: Wed, 08 Aug 2012 00:09:42 +0100
> From: Michael McMahon <michael.x.mcmahon_at_oracle.com>
> To: OpenJDK Network Dev list <net-dev_at_openjdk.java.net>
>
> 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.
>
> Thanks
> Michael McMahon.
>
>
>
> --
> Bill Burke
> JBoss, a division of Red Hat
>
>