title: cURL equivalent in Java
body: <p>I had</p>
  
  <pre><code>exec(
    "curl".
    " --cert $this-&gt;_cCertifikatZPKomunikace".
    " --cacert $this-&gt;_cCertifikatPortalCA".
    " --data \"request=".urlencode($fc_xml)."\"".
    " --output $lc_filename_stdout".
    " $this-&gt;_cPortalURL".
    " 2&gt;$lc_filename_stderr",
    $la_dummy,$ln_RetCode
  );
  </code></pre>
  
  <p>in php. </p>
  
  <p>I have to do it via java. Can you help me?</p>
  
  <p>Thanks Jakub</p>