code: private RestTemplate createRestTemplate() {
  		RestTemplate restTemplate = new RestTemplate(ClientHttpRequestFactorySelector.getRequestFactory());
  		List<HttpMessageConverter<?>> converters = new ArrayList<HttpMessageConverter<?>>(1);
  		converters.add(new FormHttpMessageConverter() {
  			public boolean canRead(Class<?> clazz, MediaType mediaType) {
  				// always read MultiValueMaps as x-www-url-formencoded even if contentType not set properly by provider				
  				return MultiValueMap.class.isAssignableFrom(clazz);
  			}
  		});
  		restTemplate.setMessageConverters(converters);
  		restTemplate.setErrorHandler(new LoggingErrorHandler());
  		return restTemplate;
  	}
docs: internal helpers