Link Details

Link 1064927 thumbnail
User 1006251 avatar

By nikosmar
via examples.javacodegeeks.com
Published: Nov 13 2013 / 05:11

n this example we are going to see how you can download a file from a JAX-RS REST Service. It’s significantly easy to do that, as it requires to annotate the bind method with the @Produces annotation. The @Produces annotation can used to used to specify the MIME media types a service can produce and send to the client. In this example we are going to see how you can download text, image, PDF and excel files.
  • 13
  • 0
  • 1588
  • 818

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Debugging JavaScript
Written by: Ashutosh Sharma
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Java EE7
  2. Spring Annotations
  3. Git
  4. Java
  5. REST