users@jersey.java.net

[Jersey] Re: hide wadl

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Mon, 30 Jul 2012 19:43:13 +0200

Not needed - you can disable WADL generation via a Jersey 1.x feature: http://jersey.java.net/nonav/apidocs/1.13/jersey/com/sun/jersey/api/core/ResourceConfig.html#FEATURE_DISABLE_WADL

Marek

On Jul 30, 2012, at 2:45 AM, Grant Yang <guang.g.yang_at_oracle.com> wrote:

> My 2cents - we used a servlet filter class on the jersey servlet to check if the query string contains 'application.wadl'.
>
> Sent from my iPad
>
> On Jul 26, 2012, at 3:52 PM, martin <bsmjt_at_163.com> wrote:
>
>> Hi,
>>
>> Is there a way in Jersey to prevent the WADL from being generated?
>> i want to hide the application detail .
>>
>> thanks a lot
>>
>>