title: Get Cookies from ServletRequest
body: <p>I'm using <code>ServletRequestListener</code> to attach to new requests, get a <code>ServletRequest</code> object and extract cookies from it.</p>
  
  <p>I've noticed that only <code>HTTPServletRequest</code> has cookies but I haven't found a connection between those two objects.</p>
  
  <p>Is it okay to use </p>
  
  <pre><code>HttpServletRequest request = ((HttpServletRequest) FacesContext.getCurrentInstance()
                  .getExternalContext().getRequest());
  </code></pre>
  
  <p>to retrieve the request while in a <code>RequestInitialized</code> method? (I do want to run on every request)</p>
  
  <p>FYI - This is all done in a JSF 1.2 Application</p>