| Package | Description |
|---|---|
| org.wso2.carbon.apimgt.samples.utils.admin.rest.client | |
| org.wso2.carbon.apimgt.samples.utils.admin.rest.client.api |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
MediationPolicyCollectionApi.policiesMediationGetAsync(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ApiCallback<MediationList> callback)
Get all global mediation policies (asynchronously)
This operation provides you a list of available all global level mediation policies.
|
com.squareup.okhttp.Call |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdDeleteAsync(String mediationPolicyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a global mediation policy (asynchronously)
This operation can be used to delete an existing global mediation policy providing the Id of the mediation policy.
|
com.squareup.okhttp.Call |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdGetAsync(String mediationPolicyId,
String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<Mediation> callback)
Get a global mediation policy (asynchronously)
This operation can be used to retrieve a particular global mediation policy.
|
com.squareup.okhttp.Call |
MediationPolicyIndividualApi.policiesMediationMediationPolicyIdPutAsync(String mediationPolicyId,
Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Mediation> callback)
Update a global mediation policy (asynchronously)
This operation can be used to update an existing global mediation policy.
|
com.squareup.okhttp.Call |
MediationPolicyCollectionApi.policiesMediationPostAsync(Mediation body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Mediation> callback)
Add a global mediation policy (asynchronously)
This operation can be used to add a new global mediation policy.
|
com.squareup.okhttp.Call |
BlacklistIndividualApi.throttlingBlacklistConditionIdDeleteAsync(String conditionId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Blocking condition (asynchronously)
Deletes an existing Blocking condition
|
com.squareup.okhttp.Call |
BlacklistIndividualApi.throttlingBlacklistConditionIdGetAsync(String conditionId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<BlockingCondition> callback)
Get a Blocking Condition (asynchronously)
Retrieves a Blocking Condition providing the condition Id
|
com.squareup.okhttp.Call |
BlacklistCollectionApi.throttlingBlacklistGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<BlockingConditionList> callback)
Get all blocking condtions (asynchronously)
Retrieves all existing blocking condtions.
|
com.squareup.okhttp.Call |
BlacklistCollectionApi.throttlingBlacklistPostAsync(BlockingCondition body,
String contentType,
ApiCallback<BlockingCondition> callback)
Add a Blocking condition (asynchronously)
Adds a new Blocking condition.
|
com.squareup.okhttp.Call |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<AdvancedThrottlePolicyList> callback)
Get all Advanced throttling policies.
|
com.squareup.okhttp.Call |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an Advanced Throttling Policy (asynchronously)
Deletes an Advanced level throttling policy.
|
com.squareup.okhttp.Call |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<AdvancedThrottlePolicy> callback)
Get an Advanced Policy (asynchronously)
Retrieves an Advanced Policy.
|
com.squareup.okhttp.Call |
AdvancedPolicyIndividualApi.throttlingPoliciesAdvancedPolicyIdPutAsync(String policyId,
AdvancedThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<AdvancedThrottlePolicy> callback)
Update an Advanced Throttling Policy (asynchronously)
Updates an existing Advanced level throttling policy.
|
com.squareup.okhttp.Call |
AdvancedPolicyCollectionApi.throttlingPoliciesAdvancedPostAsync(AdvancedThrottlePolicy body,
String contentType,
ApiCallback<AdvancedThrottlePolicy> callback)
Add an Advanced Throttling Policy (asynchronously)
Add a new Advanced level throttling policy.
|
com.squareup.okhttp.Call |
ApplicationPolicyCollectionApi.throttlingPoliciesApplicationGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<ApplicationThrottlePolicyList> callback)
Get all Application Throttling Policies (asynchronously)
Retrieves all existing application throttling policies.
|
com.squareup.okhttp.Call |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete an Application Throttling policy (asynchronously)
Deletes an Application level throttling policy.
|
com.squareup.okhttp.Call |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<ApplicationThrottlePolicy> callback)
Get an Application Policy (asynchronously)
Retrieves an Application Policy.
|
com.squareup.okhttp.Call |
ApplicationPolicyIndividualApi.throttlingPoliciesApplicationPolicyIdPutAsync(String policyId,
ApplicationThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<ApplicationThrottlePolicy> callback)
Update an Application Throttling policy (asynchronously)
Updates an existing Application level throttling policy.
|
com.squareup.okhttp.Call |
ApplicationPolicyCollectionApi.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.
|
com.squareup.okhttp.Call |
CustomRulesCollectionApi.throttlingPoliciesCustomGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<CustomRuleList> callback)
Get all Custom Rules (asynchronously)
Retrieves all Custom Rules.
|
com.squareup.okhttp.Call |
CustomRulesCollectionApi.throttlingPoliciesCustomPostAsync(CustomRule body,
String contentType,
ApiCallback<CustomRule> callback)
Add a Custom Rule (asynchronously)
Adds a new Custom Rule.
|
com.squareup.okhttp.Call |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdDeleteAsync(String ruleId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Custom Rule (asynchronously)
Delete a Custom Rule.
|
com.squareup.okhttp.Call |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdGetAsync(String ruleId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<CustomRule> callback)
Get a Custom Rule (asynchronously)
Retrieves a Custom Rule.
|
com.squareup.okhttp.Call |
CustomRulesIndividualApi.throttlingPoliciesCustomRuleIdPutAsync(String ruleId,
CustomRule body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<CustomRule> callback)
Update a Custom Rule (asynchronously)
Updates an existing Custom Rule.
|
com.squareup.okhttp.Call |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionGetAsync(String accept,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<SubscriptionThrottlePolicyList> callback)
Get all Subscription Throttling Policies (asynchronously)
This operation can be used to retrieve all Subscription level throttling policies.
|
com.squareup.okhttp.Call |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdDeleteAsync(String policyId,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<Void> callback)
Delete a Subscription Policy (asynchronously)
This operation can be used to delete a subscription-level throttling policy specifying the Id of the policy as a path paramter.
|
com.squareup.okhttp.Call |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdGetAsync(String policyId,
String ifNoneMatch,
String ifModifiedSince,
ApiCallback<SubscriptionThrottlePolicy> callback)
Get a Subscription Policy (asynchronously)
Retrieve a single subscription-level throttling policy.
|
com.squareup.okhttp.Call |
SubscriptionPolicyIndividualApi.throttlingPoliciesSubscriptionPolicyIdPutAsync(String policyId,
SubscriptionThrottlePolicy body,
String contentType,
String ifMatch,
String ifUnmodifiedSince,
ApiCallback<SubscriptionThrottlePolicy> callback)
Update a Subscription Policy (asynchronously)
Updates an existing subscription-level throttling policy.
|
com.squareup.okhttp.Call |
SubscriptionPolicyCollectionApi.throttlingPoliciesSubscriptionPostAsync(SubscriptionThrottlePolicy body,
String contentType,
ApiCallback<SubscriptionThrottlePolicy> callback)
Add a Subscription Throttling Policy (asynchronously)
This operation can be used to add a Subscription level throttling policy specifying the details of the policy in the payload.
|
Copyright © 2018 WSO2 Inc. All rights reserved.