Class ProxyHelper.ProxyHelperBuilder
- java.lang.Object
-
- de.captaingoldfish.scim.sdk.client.http.ProxyHelper.ProxyHelperBuilder
-
- Enclosing class:
- ProxyHelper
public static class ProxyHelper.ProxyHelperBuilder extends Object
overriding lombok builder class
-
-
Constructor Summary
Constructors Constructor Description ProxyHelperBuilder()public default constructor to enable builder-inheritance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyHelperbuild()ProxyHelper.ProxyHelperBuildersystemProxyHost(String systemProxyHost)the host under which the proxy can be reachedProxyHelper.ProxyHelperBuildersystemProxyPassword(String systemProxyPassword)optional proxy password in case of proxy authenticationProxyHelper.ProxyHelperBuildersystemProxyPort(int systemProxyPort)sets the proxy portProxyHelper.ProxyHelperBuildersystemProxyPort(String systemProxyPort)will parse the given string to the desired portProxyHelper.ProxyHelperBuildersystemProxyUsername(String systemProxyUsername)optional proxy username in case of proxy authenticationStringtoString()
-
-
-
Method Detail
-
systemProxyPort
public ProxyHelper.ProxyHelperBuilder systemProxyPort(int systemProxyPort)
sets the proxy port
-
systemProxyPort
public ProxyHelper.ProxyHelperBuilder systemProxyPort(String systemProxyPort)
will parse the given string to the desired port- Parameters:
systemProxyPort- the port as string- Throws:
IllegalArgumentException- if the port is empty or does not match a valid number
-
systemProxyHost
public ProxyHelper.ProxyHelperBuilder systemProxyHost(String systemProxyHost)
the host under which the proxy can be reached- Returns:
this.
-
systemProxyUsername
public ProxyHelper.ProxyHelperBuilder systemProxyUsername(String systemProxyUsername)
optional proxy username in case of proxy authentication- Returns:
this.
-
systemProxyPassword
public ProxyHelper.ProxyHelperBuilder systemProxyPassword(String systemProxyPassword)
optional proxy password in case of proxy authentication- Returns:
this.
-
build
public ProxyHelper build()
-
-