Java Reference
In-Depth Information
You just inject the HttpHeaders using the @Context annotation, and then invoke the
getCookies method. If you add this method onto the class you used in the cookie example, it
returns the following response to the browser:
<html><body>Headers:<br/>
Cookie MY_KEY=$Version=0;MY_KEY=MY_VALUE<br>
</body></html>
Search WWH ::




Custom Search