Class DefaultIntegrationRestTemplateFactory
- java.lang.Object
-
- de.hybris.platform.outboundservices.client.impl.DefaultIntegrationRestTemplateFactory
-
- All Implemented Interfaces:
IntegrationRestTemplateFactory
public class DefaultIntegrationRestTemplateFactory extends java.lang.Object implements IntegrationRestTemplateFactory
The default implementation of the factory to create rest template instance.
-
-
Constructor Summary
Constructors Constructor Description DefaultIntegrationRestTemplateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.client.RestOperationscreate(ConsumedDestinationModel destination)Create a rest template by given consumed destination model.protected java.util.List<IntegrationRestTemplateCreator>getRestTemplateCreators()voidsetRestTemplateCreators(java.util.List<IntegrationRestTemplateCreator> restTemplateCreators)
-
-
-
Method Detail
-
create
public org.springframework.web.client.RestOperations create(ConsumedDestinationModel destination)
Description copied from interface:IntegrationRestTemplateFactoryCreate a rest template by given consumed destination model.- Specified by:
createin interfaceIntegrationRestTemplateFactory- Parameters:
destination- consumed destination model- Returns:
- restTemplate
-
getRestTemplateCreators
protected java.util.List<IntegrationRestTemplateCreator> getRestTemplateCreators()
-
setRestTemplateCreators
public void setRestTemplateCreators(java.util.List<IntegrationRestTemplateCreator> restTemplateCreators)
-
-