title: getting the whole response from HttpClient PostMethod
body: <p>I connect make a post method like the following : </p>
  
  <pre><code>try {
              HttpClient client = new HttpClient();
              PostMethod method = new PostMethod(VERIFY_PAYMENT_ACTIONURL);
  
              // key is the parameter
              // MERCHANT_KEY is the value
              method.addParameter("key", MERCHANT_KEY.trim());
              method.addParameter("command", VERIFY_PAYMENT_COMMAND.trim());
              method.addParameter("hash", hash);
              method.addParameter("var1", transactionID);
              method.addParameter("salt", ALGORIHTM_SHA512_SALT_KEY.trim());
  
              int statusCode = client.executeMethod(method);
  
          } catch (Exception e) {
              e.printStackTrace();
          }
  </code></pre>
  
  <p>this works fine and I get <code>200</code> as statusCode since the method is success. I would like the get the whole response since I have to do some more functionalities based the response returned.</p>
  
  <p>the response from the server is array like the following : </p>
  
  <pre><code>array('status' =&gt; '1',
  'msg' =&gt; 'Transaction Fetched Successfully',
  'transaction_details' =&gt;
  array(
  unknown)
  )
  );
  </code></pre>
  
  <p>and I will have to get the value <code>from the response like msg etc</code>.</p>
  
  <p>so my issues here is how do I retrieve the response object which is returned from the <code>post call</code></p>
  
  <p>would some one help me on this please..</p>