public class ThrottleUtils extends Object
| Constructor and Description |
|---|
ThrottleUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
extractAPIorResourceKey(String throttleKey) |
static String |
ipToBigInteger(String ipAddress)
This method provides the BigInteger string value for the given IP address.
|
static boolean |
isIpWithinRange(String ip,
String startingIP,
String endingIp)
This method checks whether the given IP address inside a certain IP address range.
|
static boolean |
isPatternMatched(String pattern,
String match) |
public static String ipToBigInteger(String ipAddress)
ipAddress - ip address.public static boolean isIpWithinRange(String ip, String startingIP, String endingIp)
ip - ip address to be verified.startingIP - starting IP of the address range.endingIp - ending IP of the address range.Copyright © 2024 WSO2. All rights reserved.