Closed timpamungkas closed 3 years ago
Too many boilerplate codes when creating DefaultHttpClient. Use OpenFeign whenever possible! If need low-level call, use RestTemplate. Just initialize your RestTemplate once in one of the @Configuration in case it share same properties.
DefaultHttpClient
RestTemplate
@Configuration
P.S: OpenFeigh whenever possible
unused
Too many boilerplate codes when creating
DefaultHttpClient
. Use OpenFeign whenever possible!If need low-level call, use
RestTemplate
. Just initialize yourRestTemplate
once in one of the@Configuration
in case it share same properties.P.S: OpenFeigh whenever possible