public final class JFPServerHTTPSConfigFromProperties extends Object implements JFPServerHTTPSConfigType
Modifier and Type | Method and Description |
---|---|
static JFPServerHTTPSConfigType |
fromProperties(Properties p)
Load configuration data from the given properties.
|
static com.io7m.jfunctional.OptionType<JFPServerHTTPSConfigType> |
fromPropertiesOptional(Properties p)
Load (optional) configuration data from the given properties.
|
InetSocketAddress |
getAddress() |
String |
getKeyStorePassword() |
File |
getKeyStorePath() |
String |
getKeyStoreType() |
String |
getTrustStorePassword() |
File |
getTrustStorePath() |
String |
getTrustStoreType() |
public static JFPServerHTTPSConfigType fromProperties(Properties p) throws com.io7m.jproperties.JPropertyException, JFPExceptionInvalidArgument, javax.mail.internet.AddressException
p
- The propertiescom.io7m.jproperties.JPropertyException
- On malformed config files.JFPExceptionInvalidArgument
- On invalid arguments.javax.mail.internet.AddressException
- On invalid email addresses.public static com.io7m.jfunctional.OptionType<JFPServerHTTPSConfigType> fromPropertiesOptional(Properties p) throws com.io7m.jproperties.JPropertyException, JFPExceptionInvalidArgument, javax.mail.internet.AddressException
p
- The propertiescom.io7m.jproperties.JPropertyException
- On malformed config files.JFPExceptionInvalidArgument
- On invalid arguments.javax.mail.internet.AddressException
- On invalid email addresses.public InetSocketAddress getAddress()
getAddress
in interface JFPServerHTTPSConfigType
public String getKeyStorePassword()
getKeyStorePassword
in interface JFPServerHTTPSConfigType
public File getKeyStorePath()
getKeyStorePath
in interface JFPServerHTTPSConfigType
public String getKeyStoreType()
getKeyStoreType
in interface JFPServerHTTPSConfigType
public String getTrustStorePassword()
getTrustStorePassword
in interface JFPServerHTTPSConfigType
public File getTrustStorePath()
getTrustStorePath
in interface JFPServerHTTPSConfigType
public String getTrustStoreType()
getTrustStoreType
in interface JFPServerHTTPSConfigType
Copyright © 2015 <code@io7m.com> http://io7m.com