title: How to use Jersey in a restlet for download?
body: <p>I am playing around with Jersey and would like to know how one should implement a "download" feature. For example let's say I have some resources under <code>/files/</code> that I would like to be "downloaded" via a <code>GET</code> how should I do this? I already know the proper annotations and implementations for <code>GET</code>, <code>PUT</code>, <code>POST</code>, <code>DELETE</code>, but I'm not quite sure how one should treat binary data in this case. Could somebody please point me in the right direction, or show me a simple implementation? I've had a look at the <code>jersey-samples-1.4</code>, but I can't seem to be able to find what I am looking for.</p>
  
  <p>Many thanks!</p>