Class DefaultIntegrationNoCredentialRestTemplateCreator
java.lang.Object
de.hybris.platform.outboundservices.client.impl.AbstractRestTemplateCreator
de.hybris.platform.outboundservices.client.impl.DefaultIntegrationNoCredentialRestTemplateCreator
- All Implemented Interfaces:
IntegrationRestTemplateCreator
The default implementation for RestTemplate creator without authentication credentials.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.web.client.RestTemplatecreateRestTemplate(ConsumedDestinationModel destination) protected DestinationRestTemplateIdgetDestinationRestTemplateId(ConsumedDestinationModel destinationModel) booleanisApplicable(ConsumedDestinationModel destination) If the strategy applicable for giving consumed destination modelMethods inherited from class de.hybris.platform.outboundservices.client.impl.AbstractRestTemplateCreator
addInterceptors, addMessageConverters, create, createDestinationRestTemplateCacheKey, getCache, getClientHttpRequestFactory, getMessageConverters, getRequestInterceptors, setCache, setClientHttpRequestFactory, setMessageConverters, setRequestInterceptors
-
Constructor Details
-
DefaultIntegrationNoCredentialRestTemplateCreator
public DefaultIntegrationNoCredentialRestTemplateCreator()
-
-
Method Details
-
isApplicable
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
-