jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: client revisions

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: Wed, 06 Jul 2011 14:16:09 +0200

On 2011-07-06 13:50, Bill Burke wrote:
> Or, instead, simply
>
> WebDav dav = new WebDav(client);
>
> or
>
> WebDavRequest request = new WebDavRequest(client.request);
>
> Or, if you are a JAX-RS implementor, just have your request
> implementations implement a custom interface then typecast the request:
>
> WebDavRequest req = (WebDavRequest)client.request();
>
> No need to get fancy-nancy.
> ...

So we aren't trying to define a client API that is generic enough for
extension methods? Anymore?