public class InvokerConfig
extends Object
implements Serializable
Constructor and Description |
---|
InvokerConfig(RestClientConfig restClientConfig,
MindsphereCredentials credentials,
RestTemplate restTemplate)
Constructs an InvokerConfig instance initialized with RestClientConfig, MindsphereCredentials and RestTemplate
|
Modifier and Type | Method and Description |
---|---|
MindsphereCredentials |
getCredentials()
Returns the MindsphereCredentials that will be used to invoke an API end-point
|
RestClientConfig |
getRestClientConfig()
Returns Rest Client Configuration that will be used to invoke an API end-point
|
RestTemplate |
getRestTemplate()
Returns the Rest Template that will be used to invoke an API end-point
|
void |
setCredentials(MindsphereCredentials credentials)
Sets the MindsphereCredentials instance
|
void |
setRestClientConfig(RestClientConfig restClientConfig)
Sets the RestClientConfig instance
|
void |
setRestTemplate(RestTemplate restTemplate)
Sets the RestTemplate instance
|
public InvokerConfig(RestClientConfig restClientConfig, MindsphereCredentials credentials, RestTemplate restTemplate)
restClientConfig
- RestClientConfig instancecredentials
- MindsphereCredentials instancerestTemplate
- RestTemplate instancepublic RestClientConfig getRestClientConfig()
public void setRestClientConfig(RestClientConfig restClientConfig)
restClientConfig
- RestClientConfig instancepublic MindsphereCredentials getCredentials()
public void setCredentials(MindsphereCredentials credentials)
credentials
- MindsphereCredentials instancepublic RestTemplate getRestTemplate()
public void setRestTemplate(RestTemplate restTemplate)
restTemplate
- instance