users@wadl.java.net

Re: WADL 1.1 release

From: Gerard Davison <gerard.davison_at_oracle.com>
Date: Tue, 23 Aug 2011 11:39:11 +0100

Yes,

If you use one of the generic versions that take a Class<T> as the final
parameter you can get a ClientResponse back so something like this:

   ClientResponse cr = proxy.sayHello(ClientResponse.class);
   cr.getStatus();
   String message = cr.getEntity(String.class);

Ideally ClientResponse would have a generic parameter in Jersey so we
can generate slightly nicer code, but it should give you what you want.

Gerard


On 23/08/2011 10:29, Fernando Mato Mira wrote:
> Hello,
>
> Can one now access the response status? No ability to check this is
> the reason why the previous version could not be used.
> Thanks
>
>
> Best regards,
>
> Fernando Mato Mira
>
> On Tue, Aug 23, 2011 at 10:40 AM, Pavel Bucek<pavel.bucek_at_oracle.com> wrote:
>> Hello,
>>
>> I would like to release wadl 1.1 at the end of August (or start of
>> September). Does anyone has some outstanding issue which could be fixed in
>> that timeframe or any other related comments/suggestions?
>>
>> Thanks,
>> Pavel
>>

-- 
Gerard Davison | Senior Principal Software Engineer | +44 118 924 5095
Oracle JDeveloper Web Service, Spring, Weblogic SCA Tooling Development
Oracle Corporation UK Ltd is a company incorporated in England&  Wales.
Company Reg. No. 1782505.
Reg. office: Oracle Parkway, Thames Valley Park, Reading RG6 1RA.
Blog http://kingsfleet.blogspot.com Twitter kingsfleet