use of com.cloud.utils.net.Proxy in project cloudstack by apache.
the class BaseImageStoreDriverImpl method getHttpProxy.
protected Proxy getHttpProxy() {
if (_proxy == null) {
return null;
}
try {
URI uri = new URI(_proxy);
Proxy prx = new Proxy(uri);
return prx;
} catch (URISyntaxException e) {
return null;
}
}
use of com.cloud.utils.net.Proxy in project cloudstack by apache.
the class DownloadMonitorImpl method getHttpProxy.
private Proxy getHttpProxy() {
if (_proxy == null) {
return null;
}
try {
URI uri = new URI(_proxy);
Proxy prx = new Proxy(uri);
return prx;
} catch (URISyntaxException e) {
return null;
}
}
use of com.cloud.utils.net.Proxy in project cosmic by MissionCriticalCloud.
the class DownloadMonitorImpl method getHttpProxy.
private Proxy getHttpProxy() {
if (_proxy == null) {
return null;
}
try {
final URI uri = new URI(_proxy);
final Proxy prx = new Proxy(uri);
return prx;
} catch (final URISyntaxException e) {
return null;
}
}
Aggregations