public Proxy getProxy() {
if (!this.enableProxy) {
return null;
}
if (this.proxy == null) {
Type type;
if (this.proxyType.equals("HTTP")) {
type = Proxy.Type.HTTP;
} else if (this.proxyType.equals("SOCKS")) {
type = Proxy.Type.SOCKS;
} else if (this.proxyType.equals("DIRECT")) {