| java.lang.Object | |
| ↳ | com.microstrategy.webapi.restApi.RestClient |
Known Direct Subclasses
|
Invokes a REST API call.
use a RestClientBuilder /IServerRestClientBuilder to create an instance of this class
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | DEFAULT_HTTP_CONNECT_TIMEOUT | ||||||||||
| int | DEFAULT_HTTP_READ_TIMEOUT | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SimpleResponseWrapper |
execute()
Executes the API call based on the method types provided and returns a response@return
| ||||||||||
| SimpleResponseWrapper |
getResponseWrapper()
Get the response object
| ||||||||||
| static void |
initializeConnection(Integer readTimeout, Integer connectTimeout)
override the connection properties globally
| ||||||||||
| static void |
setSSLSocketFactory(SSLSocketFactory sFactory)
Set the SSLSocketFactory globally which applies to all connection
| ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Executes the API call based on the method types provided and returns a response@return
| IOException |
|---|
override the connection properties globally
Set the SSLSocketFactory globally which applies to all connection