Class ConfigurationProperties


  • public class ConfigurationProperties
    extends Object
    Author:
    jamesdbloom
    • Constructor Detail

      • ConfigurationProperties

        public ConfigurationProperties()
    • Method Detail

      • enableCORSForAPI

        public static boolean enableCORSForAPI()
      • enableCORSForAPIHasBeenSetExplicitly

        public static boolean enableCORSForAPIHasBeenSetExplicitly()
      • enableCORSForAPI

        public static void enableCORSForAPI​(boolean enableCORSForAPI)
      • enableCORSForAllResponses

        public static boolean enableCORSForAllResponses()
      • enableCORSForAllResponses

        public static void enableCORSForAllResponses​(boolean enableCORSForAllResponses)
      • maxExpectations

        public static int maxExpectations()
      • maxExpectations

        public static void maxExpectations​(int count)
      • maxWebSocketExpectations

        public static int maxWebSocketExpectations()
      • maxWebSocketExpectations

        public static void maxWebSocketExpectations​(int count)
      • maxInitialLineLength

        public static int maxInitialLineLength()
      • maxInitialLineLength

        public static void maxInitialLineLength​(int length)
      • maxHeaderSize

        public static int maxHeaderSize()
      • maxHeaderSize

        public static void maxHeaderSize​(int size)
      • maxChunkSize

        public static int maxChunkSize()
      • maxChunkSize

        public static void maxChunkSize​(int size)
      • nioEventLoopThreadCount

        public static int nioEventLoopThreadCount()
      • nioEventLoopThreadCount

        public static void nioEventLoopThreadCount​(int count)
      • maxSocketTimeout

        public static long maxSocketTimeout()
      • maxSocketTimeout

        public static void maxSocketTimeout​(long milliseconds)
      • socketConnectionTimeout

        public static int socketConnectionTimeout()
      • socketConnectionTimeout

        public static void socketConnectionTimeout​(int milliseconds)
      • javaKeyStoreFilePath

        public static String javaKeyStoreFilePath()
      • javaKeyStoreFilePath

        public static void javaKeyStoreFilePath​(String keyStoreFilePath)
      • javaKeyStorePassword

        public static String javaKeyStorePassword()
      • javaKeyStorePassword

        public static void javaKeyStorePassword​(String keyStorePassword)
      • javaKeyStoreType

        public static String javaKeyStoreType()
      • javaKeyStoreType

        public static void javaKeyStoreType​(String keyStoreType)
      • deleteGeneratedKeyStoreOnExit

        public static boolean deleteGeneratedKeyStoreOnExit()
      • deleteGeneratedKeyStoreOnExit

        public static void deleteGeneratedKeyStoreOnExit​(boolean deleteGeneratedKeyStoreOnExit)
      • sslCertificateDomainName

        public static String sslCertificateDomainName()
      • sslCertificateDomainName

        public static void sslCertificateDomainName​(String domainName)
      • sslSubjectAlternativeNameDomains

        public static String[] sslSubjectAlternativeNameDomains()
      • addSslSubjectAlternativeNameDomains

        public static void addSslSubjectAlternativeNameDomains​(String... additionalSubjectAlternativeNameDomains)
      • clearSslSubjectAlternativeNameDomains

        public static void clearSslSubjectAlternativeNameDomains()
      • containsSslSubjectAlternativeName

        public static boolean containsSslSubjectAlternativeName​(String domainOrIp)
      • sslSubjectAlternativeNameIps

        public static String[] sslSubjectAlternativeNameIps()
      • addSslSubjectAlternativeNameIps

        public static void addSslSubjectAlternativeNameIps​(String... additionalSubjectAlternativeNameIps)
      • clearSslSubjectAlternativeNameIps

        public static void clearSslSubjectAlternativeNameIps()
      • rebuildKeyStore

        public static boolean rebuildKeyStore()
      • rebuildKeyStore

        public static void rebuildKeyStore​(boolean rebuildKeyStore)
      • certificateAuthorityPrivateKey

        public static String certificateAuthorityPrivateKey()
      • certificateAuthorityPrivateKey

        public static void certificateAuthorityPrivateKey​(String certificateAuthorityPrivateKey)
        Override the default certificate authority private key
        Parameters:
        certificateAuthorityPrivateKey - location of the PEM file containing the certificate authority private key
      • certificateAuthorityCertificate

        public static String certificateAuthorityCertificate()
      • certificateAuthorityCertificate

        public static void certificateAuthorityCertificate​(String certificateAuthorityCertificate)
        Override the default certificate authority X509 certificate
        Parameters:
        certificateAuthorityCertificate - location of the PEM file containing the certificate authority X509 certificate
      • logLevel

        public static org.slf4j.event.Level logLevel()
      • logLevel

        public static void logLevel​(String level)
        Override the default logging level of INFO
        Parameters:
        level - the log level, which can be TRACE, DEBUG, INFO, WARN, ERROR, OFF
      • disableRequestAudit

        public static boolean disableRequestAudit()
      • disableRequestAudit

        public static void disableRequestAudit​(boolean disableRequestAudit)
      • disableSystemOut

        public static boolean disableSystemOut()
      • disableSystemOut

        public static void disableSystemOut​(boolean disableSystemOut)
      • httpProxy

        public static void httpProxy​(String hostAndPort)
      • httpsProxy

        public static void httpsProxy​(String hostAndPort)
      • socksProxy

        public static void socksProxy​(String hostAndPort)
      • localBoundIP

        public static String localBoundIP()
      • localBoundIP

        public static void localBoundIP​(String localBoundIP)
      • proxyAuthenticationRealm

        public static String proxyAuthenticationRealm()
      • proxyAuthenticationRealm

        public static void proxyAuthenticationRealm​(String proxyAuthenticationRealm)
      • proxyAuthenticationUsername

        public static String proxyAuthenticationUsername()
      • proxyAuthenticationUsername

        public static void proxyAuthenticationUsername​(String proxyAuthenticationUsername)
      • proxyAuthenticationPassword

        public static String proxyAuthenticationPassword()
      • proxyAuthenticationPassword

        public static void proxyAuthenticationPassword​(String proxyAuthenticationPassword)
      • initializationClass

        public static String initializationClass()
      • initializationClass

        public static void initializationClass​(String initializationClass)
      • initializationJsonPath

        public static String initializationJsonPath()
      • initializationJsonPath

        public static void initializationJsonPath​(String initializationJsonPath)