users@jersey.java.net

[Jersey] Re: hide wadl

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

It's not implemented in 2.0 yet.

Marek

On Jul 30, 2012, at 11:41 AM, Luis Gervaso <luis.gervaso_at_gmail.com> wrote:

> In 2.0 it is not generated anymore. How can i enable?
>
> Regards
>
> El 30/07/2012 09:52, "Pavel Bucek" <pavel.bucek_at_oracle.com> escribió:
> please don't do that :)
>
> there is a feature which can disable wadl generation: http://jersey.java.net/nonav/apidocs/1.13/jersey/com/sun/jersey/api/core/ResourceConfig.html#FEATURE_DISABLE_WADL
>
> just add it to your resource config or as a servlet init param and it should not be generated anymore.
>
> Regards,
> Pavel
>
> On 7/30/12 2:45 AM, Grant Yang 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
>>>
>>>
>
>