title: java- Php curl_setopt options equivalent in apache HttpClient
body: <p>I got a request that need me to translate or in other words finding the equivalent java code for the below PHP code. I currently using Apache HttpClient to handle the task. I have investigate for 4 hours but no result. There are some article about this on the internet but there is no exact answers. My knowledge about PHP is near 0. Any help would be very much appreciate.</p>
  
  <pre><code>curl_setopt($curl, CURLOPT_FORBID_REUSE, true);
  curl_setopt($curl, CURLOPT_FRESH_CONNECT, true);
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
  curl_setopt($curl, CURLOPT_TIMEOUT, 15);
  curl_setopt($curl, CURLOPT_VERBOSE, 0);
  curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
  curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  </code></pre>