users@jersey.java.net

Re: [Jersey] FeatursAndProperties.FEATURE_DISABLE_XML_SECURITY

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 12 Aug 2009 22:48:57 +0200

On Aug 12, 2009, at 10:40 PM, Craig McClanahan wrote:

> Is there a particular reason this constant was added to the
> FeaturesAndProperties interface instead of ResourceConfig where all
> the other constants are?
>

Because ResourceConfig is server-side only. FeaturesAndProperties is
the base class for ClientConfig and ResourceConfig.
FeaturesAndProperties can get injected into message body reader/writer
classes that are shared between the client and server.

Paul.