@Path(value="/throttling") @Consumes(value="application/json") @Produces(value="application/json") public class ThrottlingApi extends Object
| Constructor and Description |
|---|
ThrottlingApi() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
throttlingBlacklistConditionIdDelete(String conditionId,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingBlacklistConditionIdGet(String conditionId,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingBlacklistGet(String accept,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingBlacklistPost(BlockingConditionDTO body,
String contentType) |
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedGet(String accept,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPolicyIdPut(String policyId,
AdvancedThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesAdvancedPost(AdvancedThrottlePolicyDTO body,
String contentType) |
javax.ws.rs.core.Response |
throttlingPoliciesApplicationGet(String accept,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPolicyIdPut(String policyId,
ApplicationThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesApplicationPost(ApplicationThrottlePolicyDTO body,
String contentType) |
javax.ws.rs.core.Response |
throttlingPoliciesCustomGet(String accept,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesCustomPost(CustomRuleDTO body,
String contentType) |
javax.ws.rs.core.Response |
throttlingPoliciesCustomRuleIdDelete(String ruleId,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesCustomRuleIdGet(String ruleId,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesCustomRuleIdPut(String ruleId,
CustomRuleDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionGet(String accept,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPolicyIdDelete(String policyId,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPolicyIdGet(String policyId,
String ifNoneMatch,
String ifModifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPolicyIdPut(String policyId,
SubscriptionThrottlePolicyDTO body,
String contentType,
String ifMatch,
String ifUnmodifiedSince) |
javax.ws.rs.core.Response |
throttlingPoliciesSubscriptionPost(SubscriptionThrottlePolicyDTO body,
String contentType) |
@DELETE
@Path(value="/blacklist/{conditionId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingBlacklistConditionIdDelete(@PathParam(value="conditionId")
String conditionId,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@GET
@Path(value="/blacklist/{conditionId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingBlacklistConditionIdGet(@PathParam(value="conditionId")
String conditionId,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@GET
@Path(value="/blacklist")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingBlacklistGet(@HeaderParam(value="Accept")
String accept,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@POST @Path(value="/blacklist") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response throttlingBlacklistPost(BlockingConditionDTO body, @HeaderParam(value="Content-Type") String contentType)
@GET
@Path(value="/policies/advanced")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesAdvancedGet(@HeaderParam(value="Accept")
String accept,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@DELETE
@Path(value="/policies/advanced/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesAdvancedPolicyIdDelete(@PathParam(value="policyId")
String policyId,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@GET
@Path(value="/policies/advanced/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesAdvancedPolicyIdGet(@PathParam(value="policyId")
String policyId,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@PUT
@Path(value="/policies/advanced/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesAdvancedPolicyIdPut(@PathParam(value="policyId")
String policyId,
AdvancedThrottlePolicyDTO body,
@HeaderParam(value="Content-Type")
String contentType,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@POST @Path(value="/policies/advanced") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response throttlingPoliciesAdvancedPost(AdvancedThrottlePolicyDTO body, @HeaderParam(value="Content-Type") String contentType)
@GET
@Path(value="/policies/application")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesApplicationGet(@HeaderParam(value="Accept")
String accept,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@DELETE
@Path(value="/policies/application/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesApplicationPolicyIdDelete(@PathParam(value="policyId")
String policyId,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@GET
@Path(value="/policies/application/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesApplicationPolicyIdGet(@PathParam(value="policyId")
String policyId,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@PUT
@Path(value="/policies/application/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesApplicationPolicyIdPut(@PathParam(value="policyId")
String policyId,
ApplicationThrottlePolicyDTO body,
@HeaderParam(value="Content-Type")
String contentType,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@POST @Path(value="/policies/application") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response throttlingPoliciesApplicationPost(ApplicationThrottlePolicyDTO body, @HeaderParam(value="Content-Type") String contentType)
@GET
@Path(value="/policies/custom")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesCustomGet(@HeaderParam(value="Accept")
String accept,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@POST @Path(value="/policies/custom") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response throttlingPoliciesCustomPost(CustomRuleDTO body, @HeaderParam(value="Content-Type") String contentType)
@DELETE
@Path(value="/policies/custom/{ruleId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesCustomRuleIdDelete(@PathParam(value="ruleId")
String ruleId,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@GET
@Path(value="/policies/custom/{ruleId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesCustomRuleIdGet(@PathParam(value="ruleId")
String ruleId,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@PUT
@Path(value="/policies/custom/{ruleId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesCustomRuleIdPut(@PathParam(value="ruleId")
String ruleId,
CustomRuleDTO body,
@HeaderParam(value="Content-Type")
String contentType,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@GET
@Path(value="/policies/subscription")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesSubscriptionGet(@HeaderParam(value="Accept")
String accept,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@DELETE
@Path(value="/policies/subscription/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesSubscriptionPolicyIdDelete(@PathParam(value="policyId")
String policyId,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@GET
@Path(value="/policies/subscription/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesSubscriptionPolicyIdGet(@PathParam(value="policyId")
String policyId,
@HeaderParam(value="If-None-Match")
String ifNoneMatch,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
@PUT
@Path(value="/policies/subscription/{policyId}")
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response throttlingPoliciesSubscriptionPolicyIdPut(@PathParam(value="policyId")
String policyId,
SubscriptionThrottlePolicyDTO body,
@HeaderParam(value="Content-Type")
String contentType,
@HeaderParam(value="If-Match")
String ifMatch,
@HeaderParam(value="If-Unmodified-Since")
String ifUnmodifiedSince)
@POST @Path(value="/policies/subscription") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response throttlingPoliciesSubscriptionPost(SubscriptionThrottlePolicyDTO body, @HeaderParam(value="Content-Type") String contentType)
Copyright © 2019 WSO2. All rights reserved.