I found if I include jersey-bundle in my dependencies, InjectableProvider gets on the classpath. Apparently, it is not included in DW.
On Monday, October 3, 2016 at 8:55:27 AM UTC-4, [email protected] wrote: > > All, > > Using DW 0.9.0. > > I need to have jersey serialize my model into either JSON or XML depending on > the request. I think I get that part. > But my model is generated using EMF (Eclipse Modeling Framework) and so > annotating code would be, to say the least, ill advised. I need to implement > custom serialization for XML. As I understand it, that means implementing > the interface InjectableProvider, which should be a part of jersey, however I > am not finding it > in DW. How can I get this done the DW way? > > Thanks in advance > > -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
