title: Spring RestTemplate - How to set connect timeout and read time out
body: <p>I am using spring 3.0.5 version of RestTemplate 
  Can any one help me .how to set connecttimeout and readTimeout values for each request</p>
  
  <p>but in latest versions there is a solution with HttpComponentsClientHttpRequestFactory   class .but i need with spring.web.3.0.5 version</p>