title: @Produces annotation based on condition
body: <p>For a new project, we are using jQuery components on the client side, one of which is the blueImp file uploader. We were writing code happily, and everything worked great in Chrome and Firefox ... until somebody tried to open the site in Internet Explorer. Apparently, IE can't handle the application/json return from the server when using this upload component - moreover, it just streams it to the user as a file. Anyway, a lot of users do have this problem (which is mentioned on their site: <a href="https://github.com/blueimp/jQuery-File-Upload/wiki/Frequently-Asked-Questions" rel="nofollow">https://github.com/blueimp/jQuery-File-Upload/wiki/Frequently-Asked-Questions</a> and elsewhere on their bug reporter)</p>
  
  <p>However, most of the workarounds mentioned there are based on PHP. We are using Java on the server-side, more specifically: JAX-RS. Now, JAX-RS has this lovely @Produces annotation, which is ... well, quite static. I've been digging through the documentation, but came out none the wiser. Is there any way I can add a condition to this @Produces annotation? To make it clear: I want to return text/plain (or something like that) when the user is using IE, and application/json when the user is using a browser ... eeeerrrm, I mean, some OTHER browser :-) </p>
  
  <p>Thanks! </p>