Some time ago I’ve faced with requirements regarding retrieving data using REST behind proxy. There were some code samples available but I was really worried about thread safety and leaking resources. In this post I would like to dig into this topic using RestTemplate from Spring Framework