|
From: Bill B. <bb...@re...> - 2008-07-09 12:44:01
|
Martin Algesten wrote: > > I just ran into a snag here. I'm working on the pom.xml straightening > out the dependencies. When depending on resteasy-jaxrs we currently pull > in things like tjws and httclient. Basically I want all dependencies > that are not required to fulfil the spec to be optional and not pulled in. > tjws is required by the server. It is our shipped "embedded" JAX-RS server. Apache HttpClient is required by our client framework. > This will require some work in RegisterBuiltin.java since it currently > registers all providers whether optional or not. > I want to refactor RegisterBuiltin into an XML configuration file that lists providers that the user can remove/replace, etc... or maybe we can just list the providers in web.xml as a context param instead of having a separate Resteasy config file? I'm thinking users might like this more. > *Required by spec:* > ByteArrayProvider > DefaultTextPlain > DataSourceProvider > FormUrlEncodedProvider > InputStreamProvider > JAXBProvider > StringTextStar > > (are we missing providers for Reader, File and javax.xml.transform.Source?) > Mark Little might be implementing these. > *Optional:* > DataContentProvider (not in use, delete?) No, we need this for the spec. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |