• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using @Produces in Jersey

 
Peter Kovac
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm wondering if you need to use the @Produces annotation in Jersey resources classes when
you return a SAXSource/DOMSource/Document? If so what should the MIME text be?

Generally what is the best practice on when/how to use @Produces?

Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic