Interface HttpProxy
public interface HttpProxy
HttpProxy returns information about the HTTP/HTTPS proxy that has been configured.
- Since:
 - 9.12.0
 
- 
Method Summary
 
- 
Method Details
- 
isActive
boolean isActive()Returns true if this proxy setting is chosen to be used.- Returns:
 - true if active, false otherwise
 - Since:
 - 9.12.0
 
 - 
getAddress
String getAddress()Returns the address of the proxy (without the port). If this proxy is not set, an empty String will be returned.- Returns:
 - the address of the proxy
 - Since:
 - 9.12.0
 
 - 
getPort
int getPort()Returns the port number of the proxy. If this proxy is not set, 0 is returned.- Returns:
 - the port number of the proxy
 - Since:
 - 9.12.0
 
 - 
getUsername
String getUsername()Returns the username for the proxy. If this proxy or the username is not set, an empty String will be returned.- Returns:
 - the username for the proxy
 - Since:
 - 9.12.0
 
 - 
getPassword
String getPassword()Returns the password for the proxy. If this proxy or the password is not set, an empty String will be returned.- Returns:
 - the password for the proxy
 - Since:
 - 9.12.0
 
 
 -