Class ProxySettingsImpl
java.lang.Object
io.jenkins.plugins.railflow.commons.http.ProxySettingsImpl
- All Implemented Interfaces:
ProxySettings,Serializable
Default implementation of
ProxySettings- Author:
- Sergey Oplavin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProxySettingsImpl(String protocol, String host, int port) ProxySettingsImpl(String protocol, String host, int port, String userName, String password) -
Method Summary
Modifier and TypeMethodDescriptiongetHost()intgetPort()voidvoidsetPassword(String password) voidsetPort(int port) voidsetProtocol(String protocol) voidsetUserName(String userName)
-
Constructor Details
-
ProxySettingsImpl
-
ProxySettingsImpl
-
-
Method Details
-
getProtocol
- Specified by:
getProtocolin interfaceProxySettings- Returns:
- proxy type
-
setProtocol
-
getHost
- Specified by:
getHostin interfaceProxySettings- Returns:
- host
-
setHost
-
getPort
public int getPort()- Specified by:
getPortin interfaceProxySettings- Returns:
- port.
-
setPort
public void setPort(int port) -
getUserName
- Specified by:
getUserNamein interfaceProxySettings- Returns:
- user name or
nullif proxy does not require authorization.
-
setUserName
-
getPassword
- Specified by:
getPasswordin interfaceProxySettings- Returns:
- password or
nullif proxy does not require authorization.
-
setPassword
-