users@jersey.java.net

Re: [Jersey] Turn off WadlGeneration

From: Adam Miller <adamil_at_hypolinux.se>
Date: Fri, 4 Dec 2009 11:16:31 +0100

Magic! Thanks!

Mvh Adam


On Fri, Dec 4, 2009 at 10:18 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:

> Hi Adam,
>
>
> On Dec 4, 2009, at 9:24 AM, Adam Miller wrote:
>
> How do i turn off the auto generation off application.wadl?
>>
>>
> See:
>
>
> https://jersey.dev.java.net/nonav/apidocs/latest/jersey/com/sun/jersey/api/core/ResourceConfig.html
> #FEATURE_DISABLE_WADL
>
> Add the following to the servlet initialization parameters:
>
> <init-param>
>
> <param-name>com.sun.jersey.config.feature.DisableWADL</param-name>
> <param-value>true</param-value>
> </init-param>
>
> Paul.
>
>
> Do i have to extend WadlGeneratorConfig and set a property, i there a
>> simpler way?
>> Preferably through web.xml
>>
>> Regards Adam
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>