@Immutable public final class PDClientConfiguration extends Object
peppol.pd.client.properties.pathpd.client.properties.pathprivate-pd-client.properties in the root of the
classpathpd-client.properties in the root of the
classpath| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONNECTION_TIMEOUT_MS |
static int |
DEFAULT_REQUEST_TIMEOUT_MS |
static String |
DEFAULT_TRUSTSTORE_PASSWORD |
static String |
DEFAULT_TRUSTSTORE_PATH |
static com.helger.security.keystore.EKeyStoreType |
DEFAULT_TRUSTSTORE_TYPE |
static String |
PROPERTY_FILE_PRIMARY |
static String |
PROPERTY_FILE_SECONDARY |
static String |
SYSTEM_PROPERTY_PRIMARY |
static String |
SYSTEM_PROPERTY_SECONDARY |
| Modifier and Type | Method and Description |
|---|---|
static com.helger.settings.exchange.configfile.ConfigFile |
getConfigFile() |
static int |
getConnectTimeoutMS() |
static String |
getHttpProxyHost() |
static int |
getHttpProxyPort() |
static String |
getHttpsProxyHost() |
static int |
getHttpsProxyPort() |
static String |
getKeyStoreKeyAlias() |
static char[] |
getKeyStoreKeyPassword() |
static String |
getKeyStorePassword() |
static String |
getKeyStorePath() |
static com.helger.security.keystore.EKeyStoreType |
getKeyStoreType() |
static String |
getProxyPassword() |
static String |
getProxyUsername() |
static int |
getRequestTimeoutMS() |
static String |
getTrustStorePassword() |
static String |
getTrustStorePath() |
static com.helger.security.keystore.EKeyStoreType |
getTrustStoreType() |
static boolean |
isHttpsHostnameVerificationDisabled()
During handshaking, if the URL's hostname and the server's identification
hostname mismatch, the verification mechanism can call back to implementers
of this interface to determine if this connection should be allowed.
|
public static final String SYSTEM_PROPERTY_PRIMARY
public static final String SYSTEM_PROPERTY_SECONDARY
public static final String PROPERTY_FILE_PRIMARY
public static final String PROPERTY_FILE_SECONDARY
public static final com.helger.security.keystore.EKeyStoreType DEFAULT_TRUSTSTORE_TYPE
public static final String DEFAULT_TRUSTSTORE_PATH
public static final String DEFAULT_TRUSTSTORE_PASSWORD
public static final int DEFAULT_CONNECTION_TIMEOUT_MS
public static final int DEFAULT_REQUEST_TIMEOUT_MS
@Nonnull public static com.helger.settings.exchange.configfile.ConfigFile getConfigFile()
@Nonnull public static com.helger.security.keystore.EKeyStoreType getKeyStoreType()
keystore.type.@Nullable public static String getKeyStorePath()
keystore.path.@Nullable public static String getKeyStorePassword()
keystore.password.@Nullable public static String getKeyStoreKeyAlias()
keystore.key.alias.@Nullable public static char[] getKeyStoreKeyPassword()
keystore.key.password.@Nonnull public static com.helger.security.keystore.EKeyStoreType getTrustStoreType()
truststore.type.@Nullable public static String getTrustStorePath()
truststore.path. Defaults to
"truststore/pd-client.truststore.jks".@Nullable public static String getTrustStorePassword()
truststore.password. Defaults to
"peppol".public static boolean isHttpsHostnameVerificationDisabled()
true if hostname checking is disabled (the default),
or false if it is enabled.@Nullable public static String getHttpProxyHost()
null.getHttpsProxyHost()public static int getHttpProxyPort()
getHttpsProxyPort()@Nullable public static String getHttpsProxyHost()
null.getHttpProxyHost()public static int getHttpsProxyPort()
getHttpProxyPort()@Nullable public static String getProxyUsername()
null.@Nullable public static String getProxyPassword()
null.public static int getConnectTimeoutMS()
public static int getRequestTimeoutMS()
Copyright © 2015–2018 Philip Helger. All rights reserved.