Class Proxy
- java.lang.Object
-
- org.bonitasoft.connectors.rest.model.Proxy
-
public class Proxy extends Object
This class reflects the Proxy settings of a HTTP request.
-
-
Constructor Summary
Constructors Constructor Description Proxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHost()Host value getter.StringgetPassword()Password value getter.IntegergetPort()Port value getter.ProxyProtocolgetProtocol()Protocol value getter.StringgetUsername()Username value getter.booleanhasCredentials()Check if it has credentials.voidsetHost(String host)Host value setter.voidsetPassword(String password)Password value setter.voidsetPort(Integer port)Port value setter.voidsetProtocol(ProxyProtocol protocol)Protocol value setter.voidsetUsername(String username)Username value setter.
-
-
-
Method Detail
-
getProtocol
public ProxyProtocol getProtocol()
Protocol value getter.- Returns:
- The protocol value.
-
setProtocol
public void setProtocol(ProxyProtocol protocol)
Protocol value setter.- Parameters:
protocol- The new protocol value.
-
getHost
public String getHost()
Host value getter.- Returns:
- The host value.
-
setHost
public void setHost(String host)
Host value setter.- Parameters:
host- The new host value.
-
getPort
public Integer getPort()
Port value getter.- Returns:
- The port value.
-
setPort
public void setPort(Integer port)
Port value setter.- Parameters:
port- The new port value.
-
getUsername
public String getUsername()
Username value getter.- Returns:
- The username value.
-
setUsername
public void setUsername(String username)
Username value setter.- Parameters:
username- The new username value.
-
getPassword
public String getPassword()
Password value getter.- Returns:
- The password value.
-
setPassword
public void setPassword(String password)
Password value setter.- Parameters:
password- The new password value.
-
hasCredentials
public boolean hasCredentials()
Check if it has credentials.- Returns:
- if it has credentials.
-
-