Class MetadataProviderSettings.HttpProxySettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.MetadataProviderSettings.HttpProxySettings
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataProviderSettings
Settings for representing HTTP proxy configuration.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forMetadataProviderSettings.HttpProxySettings.Nested classes/interfaces inherited from class AbstractSettings
AbstractSettings.AbstractBuilder<T,B> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpProxySettings(Map<String, Object> settings) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Constructs a newMetadataProviderSettings.HttpProxySettings.Builderwith no settings.getHost()Gets the HTTP proxy host.Gets the HTTP proxy password.getPort()Gets the HTTP proxy port.Gets the HTTP proxy username.withSettings(Map<String, Object> settings) Constructs a newMetadataProviderSettings.HttpProxySettings.Builderwith the provided settings.Methods inherited from class AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Field Details
-
HTTP_PROXY_HOST
-
HTTP_PROXY_PORT
-
HTTP_PROXY_USER_NAME
-
HTTP_PROXY_PASSWORD
-
-
Constructor Details
-
HttpProxySettings
-
-
Method Details
-
getHost
-
getPort
-
getUserName
-
getPassword
-
builder
Constructs a newMetadataProviderSettings.HttpProxySettings.Builderwith no settings.- Returns:
- the
MetadataProviderSettings.HttpProxySettings.Builder
-
withSettings
public static MetadataProviderSettings.HttpProxySettings.Builder withSettings(Map<String, Object> settings) Constructs a newMetadataProviderSettings.HttpProxySettings.Builderwith the provided settings.- Parameters:
settings- the settings to initialize the builder- Returns:
- the builder
-