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 Type
    Method
    Description
    org.springframework.web.client.RestOperations
    Create a rest template by given consumed destination model.
    boolean
    If the strategy applicable for giving consumed destination model
  • Method Details

    • 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