title: Retrieve the contents of cookies using Java
body: <p>I need to retrieve the properties of the cookies stored upon visiting a web page. Specifically, </p>
  
  <ol>
  <li>Name</li>
  <li>Host</li>
  <li>Expiration Date</li>
  </ol>
  
  <p>Is there a library that I can use?</p>
  
  <p>EDIT: I apologize for the lack of detail..
  I am employing Selenium to retrieve the WEB page. Asserting the presence of the cookie (and ultimately deleting it) is present in Selenium's native functionality. Reading the contents, however, is something I was hoping to do...</p>