Class DefaultIntegrationBasicRestTemplateCreator
- java.lang.Object
-
- de.hybris.platform.outboundservices.client.impl.AbstractRestTemplateCreator
-
- de.hybris.platform.outboundservices.client.impl.DefaultIntegrationBasicRestTemplateCreator
-
- All Implemented Interfaces:
IntegrationRestTemplateCreator
public class DefaultIntegrationBasicRestTemplateCreator extends AbstractRestTemplateCreator
The default implementation for OAuth2RestTemplate creator.
-
-
Constructor Summary
Constructors Constructor Description DefaultIntegrationBasicRestTemplateCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.client.RestTemplatecreateRestTemplate(ConsumedDestinationModel destination)protected DestinationRestTemplateIdgetDestinationRestTemplateId(ConsumedDestinationModel destinationModel)booleanisApplicable(ConsumedDestinationModel destination)If the strategy applicable for giving consumed destination model-
Methods inherited from class de.hybris.platform.outboundservices.client.impl.AbstractRestTemplateCreator
addInterceptors, addMessageConverters, create, createDestinationRestTemplateCacheKey, getCache, getClientHttpRequestFactory, getMessageConverters, getRequestInterceptors, setCache, setClientHttpRequestFactory, setMessageConverters, setRequestInterceptors
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ConsumedDestinationModel destination)
Description copied from interface:IntegrationRestTemplateCreatorIf the strategy applicable for giving consumed destination model- Parameters:
destination- consumed destination model- Returns:
- applicable
-
createRestTemplate
protected org.springframework.web.client.RestTemplate createRestTemplate(ConsumedDestinationModel destination)
- Specified by:
createRestTemplatein classAbstractRestTemplateCreator
-
getDestinationRestTemplateId
protected DestinationRestTemplateId getDestinationRestTemplateId(ConsumedDestinationModel destinationModel)
- Specified by:
getDestinationRestTemplateIdin classAbstractRestTemplateCreator
-
-