Interface IntegrationRestTemplateCreator
-
- All Known Implementing Classes:
AbstractRestTemplateCreator,DefaultIntegrationBasicRestTemplateCreator,DefaultIntegrationOAuth2RestTemplateCreator
public interface IntegrationRestTemplateCreatorThe RestTemplate creator interface to create RestTemplate instance by given Consumed destination model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.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 Detail
-
create
org.springframework.web.client.RestOperations create(ConsumedDestinationModel destination)
Create a rest template by given consumed destination model.- Parameters:
destination- consumed destination model- Returns:
- restTemplate
-
isApplicable
boolean isApplicable(ConsumedDestinationModel destination)
If the strategy applicable for giving consumed destination model- Parameters:
destination- consumed destination model- Returns:
- applicable
-
-