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

[jsr339-experts] Re: [Client API] Refactoring Link and Invocation

From: Markus KARG <markus_at_headcrashing.eu>
Date: Thu, 7 Jul 2011 19:33:25 +0200

Well,
 
> I'm fine with
>
> client.request(..).pathParam(...).get();
>
> I don't want to see
>
> client.link(..).get().pathParam(...).invoke();
>
> because it is just not cool at all.
>
> And I'd like to have
>
> client.request(myLink).pathParam(...).get();
>

If we are now at the point where we talk about cool things we'd like to
have, let me drop another wish:

@Resource MyResourceClass target; // injected by ACC
target.later().myJavaMethodName(HeaderParams, entity); // will do async PUT
on @Path of MyResourceClass

...but I think that is not a LOW LEVEL API. ;-)

Regards
Markus