users@jersey.java.net

[Client API] How to obtain ETag and LastModified of received entity?

From: Markus KARG <markus.karg_at_gmx.net>
Date: Sun, 24 Aug 2008 17:03:02 +0200

I am using the Client API and want to know how I can obtain the ETag and
LastModified of a received entity?

Currently I am doing this:

Client client = Client.create();
WebResource r =
client.resource("http://192.168.0.15:8080/JaxRsSample/sample/Test%201%20/%201.article");
String entity = r.get(String.class);

How to find out the ETag and LastModified of this result?

Thanks
Markus

-- 
http://www.xing.com/go/invita/58469