blob: 9a702fe5f15c2d898d9dc824bc729c8520fd70e6 (
plain) (
tree)
|
|
package org.openslx.satserver.util;
import org.openslx.network.ProxyConfiguration;
/**
* Class for handling proxy configuration in task manager. Just configure proxy
* setting system wide, if it was not done already.
* @author bjoern
*
*/
public class ProxyHandler {
private static boolean hasDoneConfigProxy = false;
public static void configProxy() {
// Just configuring proxy settings system wide, if not done already.
if (!hasDoneConfigProxy) {
ProxyConfiguration.configProxy();
hasDoneConfigProxy = true;
}
}
}
|