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

[jsr339-experts] Re: [jax-rs-spec users] Re: Re: Proposal to downgrade [JAX_RS_SPEC-39] Client Cache Support to MINOR

From: Bill Burke <bburke_at_redhat.com>
Date: Fri, 13 May 2011 07:34:55 -0400

On 5/13/11 6:34 AM, Marek Potociar wrote:
>
>
> On 05/12/2011 07:43 PM, Markus KARG wrote:
>> Agreed, but in a standalone client application the application's http transport provider is provided by the JAX RS Implementation, isn't it? How should an application enable caching then?
>
> Through a proprietary client provider API.
>

Or through proprietary properties.

i.e.

import javax.ws.rs.client.Client;

Client c = new Client();
c.setProperty("resteasy.client.cache", true);


Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com