ConnectorClient Interface
Implements
public interface ConnectorClient
extends java.lang.AutoCloseable
The interface for ConnectorClient class.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract java.lang.String |
baseUrl()
Returns the base url for this Connector |
|
abstract
Service |
credentials()
Returns the credentials in use. |
| abstract java.lang.String |
getAcceptLanguage()
Gets the preferred language for the response.. |
| abstract Attachments |
getAttachments()
Gets the Attachments object to access its operations. |
| abstract Conversations |
getConversations()
Gets the Conversations object to access its operations. |
| abstract boolean |
getGenerateClientRequestId()
When set to true a unique x-ms-client-request-id value is generated and included in each request. |
| abstract int |
getLongRunningOperationRetryTimeout()
Gets the retry timeout in seconds for Long Running Operations. |
|
abstract
Rest |
getRestClient()
Gets the REST client. |
| abstract java.lang.String |
getUserAgent()
Gets the User-Agent header for the client. |
| abstract void |
setAcceptLanguage(String acceptLanguage)
Sets the preferred language for the response.. |
| abstract void |
setGenerateClientRequestId(boolean generateClientRequestId)
When set to true a unique x-ms-client-request-id value is generated and included in each request. |
| abstract void |
setLongRunningOperationRetryTimeout(int timeout)
Sets the retry timeout in seconds for Long Running Operations. |
Method Details
baseUrl
public abstract String baseUrl()
Returns the base url for this ConnectorClient.
Returns:
credentials
public abstract ServiceClientCredentials credentials()
Returns the credentials in use.
Returns:
getAcceptLanguage
public abstract String getAcceptLanguage()
Gets the preferred language for the response..
Returns:
getAttachments
public abstract Attachments getAttachments()
Gets the Attachments object to access its operations.
Returns:
getConversations
public abstract Conversations getConversations()
Gets the Conversations object to access its operations.
Returns:
getGenerateClientRequestId
public abstract boolean getGenerateClientRequestId()
When set to true a unique x-ms-client-request-id value is generated and included in each request. is true.
Returns:
getLongRunningOperationRetryTimeout
public abstract int getLongRunningOperationRetryTimeout()
Gets the retry timeout in seconds for Long Running Operations. Default value is 30..
Returns:
getRestClient
getUserAgent
public abstract String getUserAgent()
Gets the User-Agent header for the client.
Returns:
setAcceptLanguage
public abstract void setAcceptLanguage(String acceptLanguage)
Sets the preferred language for the response..
Parameters:
setGenerateClientRequestId
public abstract void setGenerateClientRequestId(boolean generateClientRequestId)
When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
Parameters:
setLongRunningOperationRetryTimeout
public abstract void setLongRunningOperationRetryTimeout(int timeout)
Sets the retry timeout in seconds for Long Running Operations. Default value is 30.
Parameters: