RestTemplate constructors

The four RestTemplate constructors are listed in the following code:

RestTemplate();
RestTemplate(boolean includeDefaultConverters);
RestTemplate(ClientHttpRequestFactory requestFactory);
RestTemplate(boolean includeDefaultConverters, ClientHttpRequestFactory requestFactory);

This constructor has no parameter, by default. If you want to use a default set of message converters with another RestTemplate example, you can pass TRUE as a parameter. If you want to use another ClientHttpRequestFactorythen you need to pass it as a parameter.