isIgnoredForHost
public boolean isIgnoredForHost(String hostname)
Checks whether proxy should be used according to nonProxyHosts settings of it, or we want to go directly to target host. If null
proxy is passed in, this method
returns true -- since there is NO proxy, we should avoid to use it. Simple hostname pattern matching using "*" are supported, but only as prefixes.
- Parameters:
hostname
- the hostname
- Returns:
- true if we have to ignore proxy use (obeying non-proxy hosts settings), false otherwise.
- See Also:
- Networking Properties