title: Measure Java's HttpConnection steps (header & body) for metric analysis?
body: <p><strong>Scenario</strong><br>
  I'm doing analytics of a data connection being made via Java's <a href="http://www.blackberry.com/developers/docs/4.0.2api/javax/microedition/io/HttpConnection.html" rel="nofollow noreferrer">HttpConnection</a>. Specifically, I want to measure:</p>
  
  <ul>
  <li>Time it took to receive the response header (not the full response)</li>
  <li>Time it took to download the data (not the full request, the response)</li>
  </ul>
  
  <p>To me, it seems as if the HttpConnection class is not sophisticated enough report these metrics (via events or overriding specific methods).
  <br><br>
  <strong>Final Questions</strong><br>
  Does Java's HttpConnection allow for granular measurement/analysis of the steps associated with a data request (<strong>measure</strong> time to retrieve <strong>just the header</strong>, time to retrieve <strong>just the body data</strong>)? If so, how can this be done?</p>