title: How to get cookie information in blackberry HttpConnection
body: <p>I'm sending request to the server and I'm getting the html response. But 
  I want to store the cookie information. Is there any other classes or methods 
  available to get the cookie information in blackberry.</p>
  
  <pre><code>for (int j = 0; j &lt; 20; j++) {
    String key = httpConn.getHeaderFieldKey(j);
    String field = httpConn.getHeaderField(j);
    if (key == null &amp;&amp; j &gt; 0) {
      break;
    }
    add(new RichTextField(key + " : " + field));
  }
  </code></pre>
  
  <p>I used this code to get the header information, but I didnt get-setcookie header ( which I'm supposed to get). the output is as follows.</p>
  
  <pre><code>Connection: Close
  expires: -1
  date: Tue, 08 Mar 2011..........
  server: Microsoft-IIS/7.5
  x-powered-by: ASP.NET
  pragma:no-cache
  x-rim-etag:4626353C5B58791ACD00D30EAADEAF4663FE219F
  cache-control: no-cache, no-store
  x-aspnet-version:2.0.50727
  content-location:http://beemediahive...........
  content-type: text/html; charset=utf-8
  </code></pre>
  
  <p>How do I get cookie information in blackberry?</p>