public class ConfigurationProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LOG_LEVEL |
Constructor and Description |
---|
ConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
static void |
addSslSubjectAlternativeNameDomains(String... newSubjectAlternativeNameDomains) |
static void |
addSslSubjectAlternativeNameIps(String... newSubjectAlternativeNameIps) |
static void |
clearSslSubjectAlternativeNameDomains() |
static void |
clearSslSubjectAlternativeNameIps() |
static boolean |
containsSslSubjectAlternativeName(String domainOrIp) |
static boolean |
deleteGeneratedKeyStoreOnExit() |
static void |
deleteGeneratedKeyStoreOnExit(boolean deleteGeneratedKeyStoreOnExit) |
static boolean |
disableRequestAudit() |
static void |
disableRequestAudit(boolean disableRequestAudit) |
static boolean |
disableSystemOut() |
static void |
disableSystemOut(boolean disableSystemOut) |
static boolean |
enableCORSForAllResponses() |
static void |
enableCORSForAllResponses(boolean enableCORSForAPI) |
static boolean |
enableCORSForAPI() |
static void |
enableCORSForAPI(boolean enableCORSForAPI) |
static boolean |
enableCORSForAPIHasBeenSetExplicitly() |
static InetSocketAddress |
httpProxy() |
static InetSocketAddress |
httpsProxy() |
static String |
javaKeyStoreFilePath() |
static void |
javaKeyStoreFilePath(String keyStoreFilePath) |
static String |
javaKeyStorePassword() |
static void |
javaKeyStorePassword(String keyStorePassword) |
static String |
javaKeyStoreType() |
static void |
javaKeyStoreType(String keyStoreType) |
static org.slf4j.event.Level |
logLevel() |
static void |
logLevel(String level)
Override the debug WARN logging level
|
static int |
maxExpectations() |
static void |
maxExpectations(int count) |
static long |
maxSocketTimeout() |
static void |
maxSocketTimeout(long milliseconds) |
static List<Integer> |
mockServerPort() |
static void |
mockServerPort(Integer... port) |
static int |
nioEventLoopThreadCount() |
static void |
nioEventLoopThreadCount(int count) |
static boolean |
rebuildKeyStore() |
static void |
rebuildKeyStore(boolean rebuildKeyStore) |
static int |
socketConnectionTimeout() |
static void |
socketConnectionTimeout(int milliseconds) |
static InetSocketAddress |
socksProxy() |
static String |
sslCertificateDomainName() |
static void |
sslCertificateDomainName(String domainName) |
static String[] |
sslSubjectAlternativeNameDomains() |
static String[] |
sslSubjectAlternativeNameIps() |
public static final String DEFAULT_LOG_LEVEL
public static boolean enableCORSForAPI()
public static boolean enableCORSForAPIHasBeenSetExplicitly()
public static void enableCORSForAPI(boolean enableCORSForAPI)
public static boolean enableCORSForAllResponses()
public static void enableCORSForAllResponses(boolean enableCORSForAPI)
public static int maxExpectations()
public static void maxExpectations(int count)
public static int nioEventLoopThreadCount()
public static void nioEventLoopThreadCount(int count)
public static long maxSocketTimeout()
public static void maxSocketTimeout(long milliseconds)
public static int socketConnectionTimeout()
public static void socketConnectionTimeout(int milliseconds)
public static String javaKeyStoreFilePath()
public static void javaKeyStoreFilePath(String keyStoreFilePath)
public static String javaKeyStorePassword()
public static void javaKeyStorePassword(String keyStorePassword)
public static String javaKeyStoreType()
public static void javaKeyStoreType(String keyStoreType)
public static boolean deleteGeneratedKeyStoreOnExit()
public static void deleteGeneratedKeyStoreOnExit(boolean deleteGeneratedKeyStoreOnExit)
public static String sslCertificateDomainName()
public static void sslCertificateDomainName(String domainName)
public static String[] sslSubjectAlternativeNameDomains()
public static void addSslSubjectAlternativeNameDomains(String... newSubjectAlternativeNameDomains)
public static void clearSslSubjectAlternativeNameDomains()
public static boolean containsSslSubjectAlternativeName(String domainOrIp)
public static String[] sslSubjectAlternativeNameIps()
public static void addSslSubjectAlternativeNameIps(String... newSubjectAlternativeNameIps)
public static void clearSslSubjectAlternativeNameIps()
public static boolean rebuildKeyStore()
public static void rebuildKeyStore(boolean rebuildKeyStore)
public static void mockServerPort(Integer... port)
public static org.slf4j.event.Level logLevel()
public static void logLevel(String level)
level
- the log level, which can be TRACE, DEBUG, INFO, WARN, ERROR, OFFpublic static boolean disableRequestAudit()
public static void disableRequestAudit(boolean disableRequestAudit)
public static boolean disableSystemOut()
public static void disableSystemOut(boolean disableSystemOut)
public static InetSocketAddress httpProxy()
public static InetSocketAddress httpsProxy()
public static InetSocketAddress socksProxy()
Copyright © 2018. All rights reserved.