public class RestTemplateWrapper
extends java.lang.Object
| Constructor and Description |
|---|
RestTemplateWrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected DestinationService<AbstractDestinationModel> |
getDestinationService() |
protected RestTemplate |
getRestTemplate() |
RestTemplate |
getUpdatedRestTemplate() |
void |
setDestinationService(DestinationService<AbstractDestinationModel> destinationService) |
void |
setRestTemplate(RestTemplate restTemplate) |
void |
updateCredentials(AbstractDestinationModel destination) |
protected void |
validateCredential(AbstractDestinationModel destination) |
public RestTemplate getUpdatedRestTemplate()
public void updateCredentials(AbstractDestinationModel destination) throws CredentialException
CredentialExceptionprotected RestTemplate getRestTemplate()
public void setRestTemplate(RestTemplate restTemplate)
protected DestinationService<AbstractDestinationModel> getDestinationService()
public void setDestinationService(DestinationService<AbstractDestinationModel> destinationService)
protected void validateCredential(AbstractDestinationModel destination) throws CredentialException
CredentialExceptionCopyright © 2018 SAP SE. All Rights Reserved.