public class ApplicationPolicyCollectionApi extends Object
| Constructor and Description |
|---|
ApplicationPolicyCollectionApi() |
ApplicationPolicyCollectionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
ApplicationThrottlePolicyList |
throttlingPoliciesApplicationGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Application Throttling Policies
Retrieves all existing application throttling policies.
|
com.squareup.okhttp.Call |
throttlingPoliciesApplicationGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<ApplicationThrottlePolicyList> callback)
Get all Application Throttling Policies (asynchronously)
Retrieves all existing application throttling policies.
|
ApiResponse<ApplicationThrottlePolicyList> |
throttlingPoliciesApplicationGetWithHttpInfo(String accept,
String ifNoneMatch,
String ifModifiedSince)
Get all Application Throttling Policies
Retrieves all existing application throttling policies.
|
ApplicationThrottlePolicy |
throttlingPoliciesApplicationPost(ApplicationThrottlePolicy body,
String contentType)
Add an Application Throttling Policy
This operation can be used to add a new application level throttling policy.
|
com.squareup.okhttp.Call |
throttlingPoliciesApplicationPostAsync(ApplicationThrottlePolicy body,
String contentType,
ApiCallback<ApplicationThrottlePolicy> callback)
Add an Application Throttling Policy (asynchronously)
This operation can be used to add a new application level throttling policy.
|
ApiResponse<ApplicationThrottlePolicy> |
throttlingPoliciesApplicationPostWithHttpInfo(ApplicationThrottlePolicy body,
String contentType)
Add an Application Throttling Policy
This operation can be used to add a new application level throttling policy.
|
public ApplicationPolicyCollectionApi()
public ApplicationPolicyCollectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ApplicationThrottlePolicyList throttlingPoliciesApplicationGet(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApplicationThrottlePolicyList> throttlingPoliciesApplicationGetWithHttpInfo(String accept, String ifNoneMatch, String ifModifiedSince) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call throttlingPoliciesApplicationGetAsync(String accept, String ifNoneMatch, String ifModifiedSince, ApiCallback<ApplicationThrottlePolicyList> callback) throws ApiException
accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). (optional)ifModifiedSince - Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic ApplicationThrottlePolicy throttlingPoliciesApplicationPost(ApplicationThrottlePolicy body, String contentType) throws ApiException
body - Application level policy object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApplicationThrottlePolicy> throttlingPoliciesApplicationPostWithHttpInfo(ApplicationThrottlePolicy body, String contentType) throws ApiException
body - Application level policy object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call throttlingPoliciesApplicationPostAsync(ApplicationThrottlePolicy body, String contentType, ApiCallback<ApplicationThrottlePolicy> callback) throws ApiException
body - Application level policy object that should to be added (required)contentType - Media type of the entity in the body. Default is application/json. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2018 WSO2 Inc. All rights reserved.