Interface IntegrationRestTemplateCreator
- All Known Implementing Classes:
AbstractRestTemplateCreator,DefaultIntegrationBasicRestTemplateCreator,DefaultIntegrationNoCredentialRestTemplateCreator,DefaultIntegrationOAuth2RestTemplateCreator
public interface IntegrationRestTemplateCreator
The RestTemplate creator interface to create RestTemplate instance by given Consumed destination model.
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.client.RestOperationscreate(ConsumedDestinationModel destination) Create a rest template by given consumed destination model.booleanisApplicable(ConsumedDestinationModel destination) If the strategy applicable for giving consumed destination model
-
Method Details
-
create
Create a rest template by given consumed destination model.- Parameters:
destination- consumed destination model- Returns:
- restTemplate
-
isApplicable
If the strategy applicable for giving consumed destination model- Parameters:
destination- consumed destination model- Returns:
- applicable
-