Package de.bmiag.tapir.core.net
Class HttpProxy.Builder
- java.lang.Object
-
- de.bmiag.tapir.core.net.HttpProxy.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setHost(java.lang.String host)
Initializes the value for thehost
attribute.void
setNonProxyHosts(java.lang.Iterable<java.lang.String> elements)
Adds elements tononProxyHosts
.void
setPassword(java.lang.String password)
Initializes the default value for thepassword
attribute.void
setPassword(java.util.Optional<java.lang.String> password)
Initializes the value for thepassword
attribute.void
setPort(int port)
Initializes the value for theport
attribute.void
setUsername(java.lang.String username)
Initializes the default value for theusername
attribute.void
setUsername(java.util.Optional<java.lang.String> username)
Initializes the value for theusername
attribute.
-
-
-
Method Detail
-
setHost
public void setHost(java.lang.String host)
Initializes the value for thehost
attribute.- Parameters:
host
- The value for host
-
setPort
public void setPort(int port)
Initializes the value for theport
attribute.- Parameters:
port
- The value for port
-
setNonProxyHosts
public void setNonProxyHosts(java.lang.Iterable<java.lang.String> elements)
Adds elements tononProxyHosts
.- Parameters:
elements
- An iterable of nonProxyHosts elements
-
setUsername
public void setUsername(java.util.Optional<java.lang.String> username)
Initializes the value for theusername
attribute.- Parameters:
username
- The value for username
-
setUsername
public void setUsername(java.lang.String username)
Initializes the default value for theusername
attribute.- Parameters:
username
- The value for username
-
setPassword
public void setPassword(java.util.Optional<java.lang.String> password)
Initializes the value for thepassword
attribute.- Parameters:
password
- The value for password
-
setPassword
public void setPassword(java.lang.String password)
Initializes the default value for thepassword
attribute.- Parameters:
password
- The value for password
-
-