com.applitools.eyes.ProxySettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-common-java Show documentation
Show all versions of eyes-common-java Show documentation
Common code for Applitools Eyes Java SDK projects
/*
* Applitools software.
*/
package com.applitools.eyes;
import com.applitools.utils.ArgumentGuard;
/***
* Encapsulates settings for sending Eyes communication via proxy.
*/
public class ProxySettings {
private String uri;
private String username;
private String password;
/**
*
* @param uri The proxy's URI.
* @param username The username to be sent to the proxy.
* @param password The password to be sent to the proxy.
*/
public ProxySettings(String uri, String username, String password) {
ArgumentGuard.notNull(uri, "uri");
this.uri = uri;
this.username = username;
this.password = password;
}
/**
* Defines proxy settings with empty username/password.
* @param uri The proxy's URI.
*/
@SuppressWarnings("UnusedDeclaration")
public ProxySettings(String uri) {
this(uri, null, null);
}
public String getUri() {
return uri;
}
public String getUsername() {
return username;
}
public String getPassword() {
return password;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy