title: java: apache HttpClient > how to disable retry
body: <p>I'm using Apache Httpclient for Ajax-calls on a website. In some cases requests to external webservice fail, often with: </p>
  
  <p>I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect. </p>
  
  <p>In that case, more often than not, I want to skip retrying the request (something that Httpclient seems to do automatically) . </p>
  
  <p>However, I can't find any method, param, etc. to skip retrying. </p>
  
  <p>anyone? </p>
  
  <p>Thanks Geert-Jan</p>