Class DefaultRestTemplateFactory
- java.lang.Object
-
- de.hybris.platform.apiregistryservices.utils.DefaultRestTemplateFactory
-
public class DefaultRestTemplateFactory extends java.lang.ObjectDefault implementation to generate the new instance ofRestTemplatedepending on the destination and it's credentials. Please do not use this class in your developments as this class will be removed soon.
-
-
Constructor Summary
Constructors Constructor Description DefaultRestTemplateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.client.RestTemplategetRestTemplate(AbstractDestinationModel destinationModel)protected java.util.Map<java.lang.Class<? extends AbstractCredentialModel>,RestTemplateProvider>getRestTemplateProviders()
-
-
-
Method Detail
-
getRestTemplate
public org.springframework.web.client.RestTemplate getRestTemplate(AbstractDestinationModel destinationModel) throws CredentialException
- Throws:
CredentialException
-
getRestTemplateProviders
protected java.util.Map<java.lang.Class<? extends AbstractCredentialModel>,RestTemplateProvider> getRestTemplateProviders()
-
-