Paulo Levi wrote:
But it's completely unintuitive! I can't know if i need to bother the
user about proxy configuration before trying with no proxy, but trying
to use that disallows the use of any other.
Trying to wrap Proxy.NO_PROXY to circumvent that, even if technically
possible, just makes
But it's completely unintuitive! I can't know if i need to bother the user
about proxy configuration before trying with no proxy, but trying to use
that disallows the use of any other.
Trying to wrap Proxy.NO_PROXY to circumvent that, even if technically
possible, just makes the code fail in the n
Paulo Levi wrote:
Anyone read the first message at all? The problem is that other proxy
requests are effectively ignored after a DIRECT connection even if it
fails.
What i am trying right now is implementing ProxySelector so that a
"manual" proxy configuration is added at the end of the
publi
Anyone read the first message at all? The problem is that other proxy
requests are effectively ignored after a DIRECT connection even if it fails.
What i am trying right now is implementing ProxySelector so that a "manual"
proxy configuration is added at the end of the
public List select(final URI
I've just realized that i could have explained this much more cogently by
just saying: "I want to detect if i'm behind a proxy firewall".
I'm thinking of using:
InetAddress address = InetAddress.getByName("http://google.com";);
if (address.isReachable(2000)) {
//yes
}else{
//no
}
but even google
Hi. I'm using my application on networks that have proxy, and others that do
not.
I'm trying to make a ProxySelector that will use the System proxy setting as
default (just pass the select request to the delegate), and if that fails,
showing a dialog to configure the proxy for this application ins