| Package | Description |
|---|---|
| org.wso2.carbon.apimgt.rest.api.admin.dto | |
| org.wso2.carbon.apimgt.rest.api.admin.utils.mappings.throttling |
| Modifier and Type | Class and Description |
|---|---|
class |
HeaderConditionDTO |
class |
IPConditionDTO |
class |
JWTClaimsConditionDTO |
class |
QueryParameterConditionDTO |
| Modifier and Type | Method and Description |
|---|---|
List<ThrottleConditionDTO> |
ConditionalGroupDTO.getConditions()
Individual throttling conditions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConditionalGroupDTO.setConditions(List<ThrottleConditionDTO> conditions) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ThrottleConditionDTO> |
CommonThrottleMappingUtil.updateFieldsFromConditionToDTO(org.wso2.carbon.apimgt.api.model.policy.Condition condition,
T dto)
Updates common fields of Throttle Condition DTO object using the Condition model object
Fields update: conditionEnabled, invertCondition
|
| Modifier and Type | Method and Description |
|---|---|
static ThrottleConditionDTO |
CommonThrottleMappingUtil.fromConditionToDTO(org.wso2.carbon.apimgt.api.model.policy.Condition condition)
Converts a Throttle Condition model object into a DTO
|
| Modifier and Type | Method and Description |
|---|---|
static List<ThrottleConditionDTO> |
CommonThrottleMappingUtil.fromConditionListToDTOList(List<org.wso2.carbon.apimgt.api.model.policy.Condition> conditions)
Converts a list of Condition objects into a list of Throttle Condition DTO objects
|
| Modifier and Type | Method and Description |
|---|---|
static org.wso2.carbon.apimgt.api.model.policy.Condition |
CommonThrottleMappingUtil.fromDTOToCondition(ThrottleConditionDTO dto)
Converts a Throttle Condition DTO object into a Condition model object
|
static <T extends org.wso2.carbon.apimgt.api.model.policy.Condition> |
CommonThrottleMappingUtil.updateFieldsFromDTOToCondition(ThrottleConditionDTO dto,
T condition)
Update common fields of Condition model object using Condition DTO object
Fields update: conditionEnabled, invertCondition
|
| Modifier and Type | Method and Description |
|---|---|
static List<org.wso2.carbon.apimgt.api.model.policy.Condition> |
CommonThrottleMappingUtil.fromDTOListToConditionList(List<ThrottleConditionDTO> throttleConditionDTOs)
Converts a list of Throttle Condition DTOs into a list of model Condition objects
|
Copyright © 2019 WSO2. All rights reserved.