Class MetadataProviderSettings.HttpProxySettings.Builder
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings.AbstractBuilder<MetadataProviderSettings.HttpProxySettings,MetadataProviderSettings.HttpProxySettings.Builder>
se.swedenconnect.spring.saml.idp.settings.MetadataProviderSettings.HttpProxySettings.Builder
- Enclosing class:
MetadataProviderSettings.HttpProxySettings
public static final class MetadataProviderSettings.HttpProxySettings.Builder
extends AbstractSettings.AbstractBuilder<MetadataProviderSettings.HttpProxySettings,MetadataProviderSettings.HttpProxySettings.Builder>
A builder for
MetadataProviderSettings.HttpProxySettings
.-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Is invoked byAbstractSettings.AbstractBuilder.build()
to apply default values to those settings that are mandatory and has not been assigned.Is invoked byAbstractSettings.AbstractBuilder.build()
and builds the settings object.Assigns the HTTP proxy host.Assigns the HTTP proxy password.Assigns the HTTP proxy port.Assigns the HTTP proxy username.Methods inherited from class se.swedenconnect.spring.saml.idp.settings.AbstractSettings.AbstractBuilder
build, getSettings, getThis, setting, settings
-
Method Details
-
host
Assigns the HTTP proxy host.- Parameters:
host
- the HTTP proxy host- Returns:
- the builder
-
port
Assigns the HTTP proxy port.- Parameters:
port
- the HTTP proxy port- Returns:
- the builder
-
userName
Assigns the HTTP proxy username.- Parameters:
userName
- the proxy username- Returns:
- the builder
-
password
Assigns the HTTP proxy password.- Parameters:
password
- the HTTP proxy password- Returns:
- the builder
-
applyDefaultSettings
protected void applyDefaultSettings()Is invoked byAbstractSettings.AbstractBuilder.build()
to apply default values to those settings that are mandatory and has not been assigned. -
buildObject
Is invoked byAbstractSettings.AbstractBuilder.build()
and builds the settings object.- Specified by:
buildObject
in classAbstractSettings.AbstractBuilder<MetadataProviderSettings.HttpProxySettings,
MetadataProviderSettings.HttpProxySettings.Builder> - Returns:
- the settings object
-