Package org.wso2.carbon.apimgt.impl.dto
Class ThrottleDataDTO
- java.lang.Object
-
- org.wso2.carbon.apimgt.impl.dto.ThrottleDataDTO
-
public class ThrottleDataDTO extends Object
This class is used to hold throttling data before publish them to global policy engine side. We decided to maintain this in impl as this can be used by other components such as usage publisher. In future we may consider adding all properties to this class.
-
-
Constructor Summary
Constructors Constructor Description ThrottleDataDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanDTO()
Cleaning DTO by setting null reference for all it instance variables.String
getClientIP()
int
getMessageSizeInBytes()
Map<String,String>
getQueryParameters()
Map<String,String>
getTransportHeaders()
void
setClientIP(String clientIP)
void
setMessageSizeInBytes(int messageSizeInBytes)
void
setQueryParameters(Map<String,String> queryParameters)
void
setTransportHeaders(Map<String,String> transportHeaders)
-
-
-
Method Detail
-
getClientIP
public String getClientIP()
-
setClientIP
public void setClientIP(String clientIP)
-
getMessageSizeInBytes
public int getMessageSizeInBytes()
-
setMessageSizeInBytes
public void setMessageSizeInBytes(int messageSizeInBytes)
-
cleanDTO
public void cleanDTO()
Cleaning DTO by setting null reference for all it instance variables.
-
-