aQute.bnd.service.url.ProxyHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
package aQute.bnd.service.url;
import java.net.PasswordAuthentication;
import java.net.Proxy;
import java.net.URL;
public interface ProxyHandler {
ProxySetup forURL(URL url) throws Exception;
public class ProxySetup {
public Proxy proxy;
public PasswordAuthentication authentication;
@Override
public String toString() {
return "Proxy [proxy=" + proxy + ", authentication="
+ (authentication == null ? null : authentication.getUserName()) + "]";
}
}
}