call http url from java rest remplates

Solutions on MaxInterview for call http url from java rest remplates by the best coders in the world

showing results for - "call http url from java rest remplates"
María Fernanda
22 Mar 2016
1@Bean
2public RestTemplate restTemplate(RestTemplateBuilder builder) {
3 
4    return builder
5            .setConnectTimeout(Duration.ofMillis(3000))
6            .setReadTimeout(Duration.ofMillis(3000))
7            .build();
8}
9