Package sonia.scm.net
Interface ProxyConfiguration
- All Known Implementing Classes:
GlobalProxyConfiguration
public interface ProxyConfiguration
Proxy server configuration.
- Since:
- 2.23.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of hostnames which should not be routed over the proxy server.getHost()
Return the hostname or ip address of the proxy server.Returns thr password for proxy server authentication.int
getPort()
Returns port of the proxy server.Returns the username for proxy server authentication.boolean
Returntrue
if the proxy server required authentication.boolean
-
Method Details
-
isEnabled
boolean isEnabled() -
getHost
String getHost()Return the hostname or ip address of the proxy server. -
getPort
int getPort()Returns port of the proxy server. -
getExcludes
Collection<String> getExcludes()Returns a list of hostnames which should not be routed over the proxy server. -
getUsername
String getUsername()Returns the username for proxy server authentication. -
getPassword
String getPassword()Returns thr password for proxy server authentication. -
isAuthenticationRequired
boolean isAuthenticationRequired()Returntrue
if the proxy server required authentication.
-