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- 
isActiveboolean isActive()Returns true if this proxy setting is chosen to be used.- Returns:
- true if active, false otherwise
- Since:
- 9.12.0
 
- 
getAddressString 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
 
- 
getPortint 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
 
- 
getUsernameString 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
 
- 
getPasswordString 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
 
 
-