users@jersey.java.net

Adding Header to Response

From: Andy <a.begau_at_googlemail.com>
Date: Wed, 21 Oct 2009 18:40:57 +0200

Hi,

how can I add an additional header to this call:
Response.temporaryRedirect(uri).build()
The header is needed for basic authentication, so I'd like to add the
header as pair of strings.
I read something about ||
<http://www.j2ee.me/javaee/6/docs/api/javax/ws/rs/ext/RuntimeDelegate.HeaderDelegate.html>RuntimeDelegate.HeaderDelegate
but I didn't get it work.
I'm using jersey 1.0.3.1

Thanks,
Andy