Class ThrottlingApi
java.lang.Object
org.wso2.am.integration.clients.internal.api.ThrottlingApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockGet()blocking events available This will provide access to throttled events in database.com.squareup.okhttp.CallblockGetAsync(ApiCallback<Map<String, BlockConditionsDTO>> callback) blocking events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallblockGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for blockGetblocking events available This will provide access to throttled events in database.isThrottledGet(String query) throttled events available This will provide access to throttled events in database.com.squareup.okhttp.CallisThrottledGetAsync(String query, ApiCallback<ThrottledEventDTO> callback) throttled events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallisThrottledGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for isThrottledGetisThrottledGetWithHttpInfo(String query) throttled events available This will provide access to throttled events in database.voidsetApiClient(ApiClient apiClient) throttleAsStringGet(String query) throttled events available This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleAsStringGetAsync(String query, ApiCallback<String> callback) throttled events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleAsStringGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for throttleAsStringGetthrottled events available This will provide access to throttled events in database.throttleGet(String query) throttled events available This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleGetAsync(String query, ApiCallback<List<ThrottledEventDTO>> callback) throttled events available (asynchronously) This will provide access to throttled events in database.com.squareup.okhttp.CallthrottleGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for throttleGetthrottleGetWithHttpInfo(String query) throttled events available This will provide access to throttled events in database.
-
Constructor Details
-
ThrottlingApi
public ThrottlingApi() -
ThrottlingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
blockGetCall
public com.squareup.okhttp.Call blockGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for blockGet- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
blockGet
blocking events available This will provide access to throttled events in database.- Returns:
- Map<String, BlockConditionsDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
blockGetWithHttpInfo
blocking events available This will provide access to throttled events in database.- Returns:
- ApiResponse<Map<String, BlockConditionsDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
blockGetAsync
public com.squareup.okhttp.Call blockGetAsync(ApiCallback<Map<String, BlockConditionsDTO>> callback) throws ApiExceptionblocking events available (asynchronously) This will provide access to throttled events in database.- Parameters:
callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
isThrottledGetCall
public com.squareup.okhttp.Call isThrottledGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for isThrottledGet- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
isThrottledGet
throttled events available This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)- Returns:
- ThrottledEventDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
isThrottledGetWithHttpInfo
throttled events available This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)- Returns:
- ApiResponse<ThrottledEventDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
isThrottledGetAsync
public com.squareup.okhttp.Call isThrottledGetAsync(String query, ApiCallback<ThrottledEventDTO> callback) throws ApiException throttled events available (asynchronously) This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
throttleAsStringGetCall
public com.squareup.okhttp.Call throttleAsStringGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for throttleAsStringGet- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
throttleAsStringGet
throttled events available This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttleAsStringGetWithHttpInfo
throttled events available This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttleAsStringGetAsync
public com.squareup.okhttp.Call throttleAsStringGetAsync(String query, ApiCallback<String> callback) throws ApiException throttled events available (asynchronously) This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
throttleGetCall
public com.squareup.okhttp.Call throttleGetCall(String query, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for throttleGet- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
throttleGet
throttled events available This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)- Returns:
- List<ThrottledEventDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttleGetWithHttpInfo
public ApiResponse<List<ThrottledEventDTO>> throttleGetWithHttpInfo(String query) throws ApiException throttled events available This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)- Returns:
- ApiResponse<List<ThrottledEventDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
throttleGetAsync
public com.squareup.okhttp.Call throttleGetAsync(String query, ApiCallback<List<ThrottledEventDTO>> callback) throws ApiException throttled events available (asynchronously) This will provide access to throttled events in database.- Parameters:
query- **Search condition**. You can search for an application by specifying the name as \"query\" attribute. Eg. \"app1\" will match an application if the name is exactly \"app1\". Currently this does not support wildcards. Given name must exactly match the application name. (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-