users@jersey.java.net

[Jersey] Re: hide wadl

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Mon, 30 Jul 2012 12:02:51 +0200

Jersey 2.x does not contain support for WADL generation yet. It will be
included in 2.0 final, but we currently don't have any roadmap for this
feature.

Regards,
Pavel

On 7/30/12 11:41 AM, Luis Gervaso 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
> <mailto: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
>> <mailto: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
>>>
>>>
>
>