public class ThrottlingApiServiceImpl extends ThrottlingApiService
| Constructor and Description |
|---|
ThrottlingApiServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
throttlingBlacklistConditionIdDelete(String conditionId,
String ifMatch,
String ifUnmodifiedSince)
Delete a block condition specified by the condition Id
|
javax.ws.rs.core.Response |
throttlingBlacklistConditionIdGet(String conditionId,
String ifNoneMatch,
String ifModifiedSince)
Get a specific Block condition by its id
|
javax.ws.rs.core.Response |
throttlingBlacklistGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Retrieves all Block Conditions
|
javax.ws.rs.core.Response |
throttlingBlacklistPost(BlockingConditionDTO body,
String contentType)
Add a Block Condition
|
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Retrieves all Advanced level policies
|
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Advanced level policy specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get a specific Advanced Level Policy
|
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPolicyIdPut(String policyId,
AdvancedThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Updates a given Advanced level policy specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPost(AdvancedThrottlePolicyDTO body,
String contentType)
Add an Advanced Level Throttle Policy
|
javax.ws.rs.core.Response |
throttlingPoliciesApplicationGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Retrieves all Application Throttle Policies
|
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete an Application level policy specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get a specific Application Policy by its uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPolicyIdPut(String policyId,
ApplicationThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Updates a given Application level policy specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPost(ApplicationThrottlePolicyDTO body,
String contentType)
Add an Application Level Throttle Policy
|
javax.ws.rs.core.Response |
throttlingPoliciesCustomGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Retrieves all Global level policies
|
javax.ws.rs.core.Response |
throttlingPoliciesCustomPost(CustomRuleDTO body,
String contentType)
Add an Global Level Throttle Policy
|
javax.ws.rs.core.Response |
throttlingPoliciesCustomRuleIdDelete(String ruleId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Global level policy/custom rule specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesCustomRuleIdGet(String ruleId,
String ifNoneMatch,
String ifModifiedSince)
Get a specific custom rule by its name
|
javax.ws.rs.core.Response |
throttlingPoliciesCustomRuleIdPut(String ruleId,
CustomRuleDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Updates a given Global level policy/custom rule specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionGet(String accept,
String ifNoneMatch,
String ifModifiedSince)
Retrieves all Subscription level policies
|
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince)
Delete a Subscription level policy specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince)
Get a specific Subscription Policy by its uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPolicyIdPut(String policyId,
SubscriptionThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince)
Updates a given Subscription level policy specified by uuid
|
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPost(SubscriptionThrottlePolicyDTO body,
String contentType)
Add a Subscription Level Throttle Policy
|
public javax.ws.rs.core.Response throttlingPoliciesAdvancedGet(String accept, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesAdvancedGet in class ThrottlingApiServiceaccept - Accept header valueifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesAdvancedPost(AdvancedThrottlePolicyDTO body, String contentType)
throttlingPoliciesAdvancedPost in class ThrottlingApiServicebody - DTO of new policy to be createdcontentType - Content-Type headerpublic javax.ws.rs.core.Response throttlingPoliciesAdvancedPolicyIdGet(String policyId, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesAdvancedPolicyIdGet in class ThrottlingApiServicepolicyId - uuid of the policyifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesAdvancedPolicyIdPut(String policyId, AdvancedThrottlePolicyDTO body, String contentType, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesAdvancedPolicyIdPut in class ThrottlingApiServicepolicyId - uuid of the policybody - DTO of policy to be updatedcontentType - Content-Type headerifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesAdvancedPolicyIdDelete(String policyId, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesAdvancedPolicyIdDelete in class ThrottlingApiServicepolicyId - uuid of the policyifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesApplicationGet(String accept, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesApplicationGet in class ThrottlingApiServiceaccept - Accept header valueifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesApplicationPost(ApplicationThrottlePolicyDTO body, String contentType)
throttlingPoliciesApplicationPost in class ThrottlingApiServicebody - DTO of the Application Policy to addcontentType - Content-Type headerpublic javax.ws.rs.core.Response throttlingPoliciesApplicationPolicyIdGet(String policyId, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesApplicationPolicyIdGet in class ThrottlingApiServicepolicyId - uuid of the policyifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesApplicationPolicyIdPut(String policyId, ApplicationThrottlePolicyDTO body, String contentType, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesApplicationPolicyIdPut in class ThrottlingApiServicepolicyId - uuid of the policybody - DTO of policy to be updatedcontentType - Content-Type headerifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesApplicationPolicyIdDelete(String policyId, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesApplicationPolicyIdDelete in class ThrottlingApiServicepolicyId - uuid of the policyifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesSubscriptionGet(String accept, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesSubscriptionGet in class ThrottlingApiServiceaccept - Accept header valueifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesSubscriptionPost(SubscriptionThrottlePolicyDTO body, String contentType)
throttlingPoliciesSubscriptionPost in class ThrottlingApiServicebody - DTO of new policy to be createdcontentType - Content-Type headerpublic javax.ws.rs.core.Response throttlingPoliciesSubscriptionPolicyIdGet(String policyId, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesSubscriptionPolicyIdGet in class ThrottlingApiServicepolicyId - uuid of the policyifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesSubscriptionPolicyIdPut(String policyId, SubscriptionThrottlePolicyDTO body, String contentType, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesSubscriptionPolicyIdPut in class ThrottlingApiServicepolicyId - ubody - DTO of policy to be updatedcontentType - Content-Type headerifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesSubscriptionPolicyIdDelete(String policyId, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesSubscriptionPolicyIdDelete in class ThrottlingApiServicepolicyId - uuid of the policyuifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesCustomGet(String accept, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesCustomGet in class ThrottlingApiServiceaccept - Accept header valueifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesCustomPost(CustomRuleDTO body, String contentType)
throttlingPoliciesCustomPost in class ThrottlingApiServicebody - DTO of new policy to be createdcontentType - Content-Type headerpublic javax.ws.rs.core.Response throttlingPoliciesCustomRuleIdGet(String ruleId, String ifNoneMatch, String ifModifiedSince)
throttlingPoliciesCustomRuleIdGet in class ThrottlingApiServiceruleId - uuid of the policyifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesCustomRuleIdPut(String ruleId, CustomRuleDTO body, String contentType, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesCustomRuleIdPut in class ThrottlingApiServiceruleId - uuid of the policybody - DTO of policy to be updatedcontentType - Content-Type headerifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingPoliciesCustomRuleIdDelete(String ruleId, String ifMatch, String ifUnmodifiedSince)
throttlingPoliciesCustomRuleIdDelete in class ThrottlingApiServiceruleId - uuid of the policyifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valuepublic javax.ws.rs.core.Response throttlingBlacklistGet(String accept, String ifNoneMatch, String ifModifiedSince)
throttlingBlacklistGet in class ThrottlingApiServiceaccept - Accept header valueifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingBlacklistPost(BlockingConditionDTO body, String contentType)
throttlingBlacklistPost in class ThrottlingApiServicebody - DTO of new block condition to be createdcontentType - Content-Type headerpublic javax.ws.rs.core.Response throttlingBlacklistConditionIdGet(String conditionId, String ifNoneMatch, String ifModifiedSince)
throttlingBlacklistConditionIdGet in class ThrottlingApiServiceconditionId - Id of the block conditionifNoneMatch - If-None-Match header valueifModifiedSince - If-Modified-Since header valuepublic javax.ws.rs.core.Response throttlingBlacklistConditionIdDelete(String conditionId, String ifMatch, String ifUnmodifiedSince)
throttlingBlacklistConditionIdDelete in class ThrottlingApiServiceconditionId - Id of the block conditionifMatch - If-Match header valueifUnmodifiedSince - If-Unmodified-Since header valueCopyright © 2019 WSO2. All rights reserved.