Package com.sap.cds.feature.mt
Class SmsClient
java.lang.Object
com.sap.cds.integration.cloudsdk.rest.client.JsonRestClient
com.sap.cds.feature.mt.SmsClient
Implementation of the SMS REST client.
-
Field Summary
Fields inherited from class com.sap.cds.integration.cloudsdk.rest.client.JsonRestClient
mapper
-
Constructor Summary
ConstructorDescriptionSmsClient
(com.sap.cloud.environment.servicebinding.api.ServiceBinding binding) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<com.sap.cloud.environment.servicebinding.api.ServiceBinding>
findBinding
(CdsRuntime runtime) Retrieves the tenant info of all subscribed tenantsMethods inherited from class com.sap.cds.integration.cloudsdk.rest.client.JsonRestClient
deleteRequest, getRequest, getRequestWithOnlyResponseCode, postRequest, postRequest, putRequest
-
Field Details
-
BINDING_URL_KEY
- See Also:
-
SUBSCRIPTIONS_PATH
- See Also:
-
SUBSCRIPTION_STATE
- See Also:
-
-
Constructor Details
-
SmsClient
public SmsClient(com.sap.cloud.environment.servicebinding.api.ServiceBinding binding)
-
-
Method Details
-
findBinding
public static Optional<com.sap.cloud.environment.servicebinding.api.ServiceBinding> findBinding(CdsRuntime runtime) -
getSubscribedTenants
Retrieves the tenant info of all subscribed tenants- Returns:
- tenants info
- Throws:
IOException
- throws when any connection problems occur
-