Hi
On 16/10/14 08:21, Vjacheslav V. Borisov wrote:
Hi All!

XSLTJaxbProvider has annotation
@Produces({"application/xml", "application/*+xml", "text/xml", "text/html"
})
so it is impossible to use it  for text/csv

is there a way to override it with , example with

@Produces({"application/xml", "application/*+xml", "text/*" })
public class XSLTJaxbProvider2 extends XSLTJaxbProvider {

but without writing overriding class.

This provider has a 'produceMediaTypes' List property that can be used to override the default Produces.

Sergey

Reply via email to