users@jersey.java.net

[Jersey] Question about HEAD

From: Russ Baker <rbaker_at_ghx.com>
Date: Tue, 5 Nov 2013 21:30:47 +0000

I'm running a web application and I want to access a resource with "HEAD". Whenever I call "HEAD" Jersey will go and use the corresponding "GET". I read in the documentation that "For HEAD the runtime will invoke the implemented GET method (if present) and ignore the response entity (if set)." How do I force the client to make the "HEAD" call instead of the "GET"?

Thanks in advance,

Russ Baker