ProxyAutoConfig
@Deprecated public final class ProxyAutoConfig extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
dateRange(String value1,
Object value2,
Object value3,
Object value4,
Object value5,
Object value6,
Object value7)
Deprecated.
|
static boolean |
dnsDomainIs(String host,
String domain)
Deprecated.
as of 2.16, use
ProxyAutoConfig.dnsDomainIs(String, String) |
static int |
dnsDomainLevels(String host)
Deprecated.
as of 2.16, use
ProxyAutoConfig.dnsDomainLevels(String) |
static String |
dnsResolve(String host)
Deprecated.
as of 2.16, use
ProxyAutoConfig.dnsResolve(String) |
static String |
evaluate(String content,
URL url)
Deprecated.
as of 2.16, use
ProxyAutoConfig.evaluate(String, URL) |
static boolean |
isInNet(String host,
String pattern,
String mask)
Deprecated.
as of 2.16, use
ProxyAutoConfig.isInNet(String, String, String) |
static boolean |
isPlainHostName(String host)
Deprecated.
as of 2.16, use
ProxyAutoConfig.isPlainHostName(String) |
static boolean |
isResolvable(String host)
Deprecated.
as of 2.16, use
ProxyAutoConfig.isResolvable(String) |
static boolean |
localHostOrDomainIs(String host,
String hostdom)
Deprecated.
as of 2.16, use
#localHostOrDomainIs(String, String) |
static String |
myIpAddress()
Deprecated.
as of 2.16, use
ProxyAutoConfig.myIpAddress() |
static boolean |
shExpMatch(String str,
String shexp)
Deprecated.
as of 2.16, use
ProxyAutoConfig.shExpMatch(String, String) |
static boolean |
timeRange(String value1,
Object value2,
Object value3,
Object value4,
Object value5,
Object value6,
Object value7)
Deprecated.
|
static boolean |
weekdayRange(String wd1,
Object wd2,
Object gmt)
Deprecated.
as of 2.16, use
#weekdayRange(String, Object, Object) |
@Deprecated public static String evaluate(String content, URL url)
ProxyAutoConfig.evaluate(String, URL)
content
- the JavaScript contenturl
- the URL to be retrieved@Deprecated public static boolean isPlainHostName(String host)
ProxyAutoConfig.isPlainHostName(String)
host
- the hostname from the URL (excluding port number).@Deprecated public static boolean dnsDomainIs(String host, String domain)
ProxyAutoConfig.dnsDomainIs(String, String)
host
- the hostname from the URLdomain
- the domain name to test the hostname against@Deprecated public static boolean localHostOrDomainIs(String host, String hostdom)
#localHostOrDomainIs(String, String)
host
- the hostname from the URLhostdom
- fully qualified hostname to match against@Deprecated public static boolean isResolvable(String host)
ProxyAutoConfig.isResolvable(String)
host
- the hostname from the URL.@Deprecated public static boolean isInNet(String host, String pattern, String mask)
ProxyAutoConfig.isInNet(String, String, String)
host
- a DNS hostname, or IP address.
If a hostname is passed, it will be resolved into an IP address by this function.pattern
- an IP address pattern in the dot-separated formatmask
- mask for the IP address pattern informing which parts of the IP address should be matched against.
0 means ignore, 255 means match@Deprecated public static String dnsResolve(String host)
ProxyAutoConfig.dnsResolve(String)
host
- the hostname to resolve@Deprecated public static String myIpAddress()
ProxyAutoConfig.myIpAddress()
@Deprecated public static int dnsDomainLevels(String host)
ProxyAutoConfig.dnsDomainLevels(String)
host
- the hostname from the URL@Deprecated public static boolean shExpMatch(String str, String shexp)
ProxyAutoConfig.shExpMatch(String, String)
str
- a string to matchshexp
- the shell expression@Deprecated public static boolean weekdayRange(String wd1, Object wd2, Object gmt)
#weekdayRange(String, Object, Object)
wd1
- week day 1wd2
- week day 2, optionalgmt
- string of "GMT", or not specified@Deprecated public static boolean dateRange(String value1, Object value2, Object value3, Object value4, Object value5, Object value6, Object value7)
#dateRange(String, Object, Object, Object, Object, Object, Object)
value1
- the value 1value2
- the value 2value3
- the value 3value4
- the value 4value5
- the value 5value6
- the value 6value7
- the value 7@Deprecated public static boolean timeRange(String value1, Object value2, Object value3, Object value4, Object value5, Object value6, Object value7)
#timeRange(String, Object, Object, Object, Object, Object, Object)
value1
- the value 1value2
- the value 2value3
- the value 3value4
- the value 4value5
- the value 5value6
- the value 6value7
- the value 7Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.