users@jersey.java.net

HowTo get HTTP Header from a POST response?

From: Markus Kolb <java-sun_at_tower-net.de>
Date: Sat, 17 May 2008 17:42:00 +0200

Hello,

I need some help...
My client does a POST and in the response from WebService I've inserted
a custom X Header with Response.ok().header(...).build()
OK, that's fine, the header is there.
How does the client get the custom X Header?
I tried to get it from WebResource with the head().
But there is only getLanguage(), getStatus(), etc. and nothing to get a
custom header?!
How can this be done?

Many thanks
Markus