public class RestTemplateWrapper
extends java.lang.Object
| Constructor and Description |
|---|
RestTemplateWrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected DestinationService<AbstractDestinationModel> |
getDestinationService() |
protected int |
getKeepAlive() |
protected RestTemplate |
getRestTemplate() |
protected int |
getTimeout() |
RestTemplate |
getUpdatedRestTemplate() |
void |
invalidateAndUpdateCash(ConsumedCertificateCredentialModel credential) |
void |
setDestinationService(DestinationService<AbstractDestinationModel> destinationService) |
void |
setRestTemplate(RestTemplate restTemplate) |
void |
setTimeout(int timeout) |
void |
updateCredentials(AbstractDestinationModel destination) |
protected void |
updateRequestFactory(ConsumedCertificateCredentialModel credential) |
protected void |
validateCredential(AbstractDestinationModel destination) |
public RestTemplate getUpdatedRestTemplate()
public void updateCredentials(AbstractDestinationModel destination) throws CredentialException
CredentialExceptionpublic void invalidateAndUpdateCash(ConsumedCertificateCredentialModel credential)
protected void updateRequestFactory(ConsumedCertificateCredentialModel credential) throws CredentialException
CredentialExceptionprotected RestTemplate getRestTemplate()
protected int getKeepAlive()
public void setRestTemplate(RestTemplate restTemplate)
protected DestinationService<AbstractDestinationModel> getDestinationService()
public void setDestinationService(DestinationService<AbstractDestinationModel> destinationService)
protected void validateCredential(AbstractDestinationModel destination) throws CredentialException
CredentialExceptionprotected int getTimeout()
public void setTimeout(int timeout)
Copyright © 2018 SAP SE. All Rights Reserved.