public final class IpAddressTools
extends java.lang.Object
| Constructor and Description |
|---|
IpAddressTools() |
| Modifier and Type | Method and Description |
|---|---|
static Tuple<java.net.Inet4Address,java.net.Inet6Address> |
getRandomAddressesFromHost(org.apache.http.HttpHost host) |
static <T> T |
getRandomFromList(java.util.List<T> list) |
public static Tuple<java.net.Inet4Address,java.net.Inet6Address> getRandomAddressesFromHost(org.apache.http.HttpHost host) throws org.apache.http.HttpException
org.apache.http.HttpExceptionpublic static <T> T getRandomFromList(java.util.List<T> list)