Class HTTPSServerConfig

    • Field Detail

      • keystore

        private final java.io.File keystore
      • keyStorePassword

        private final java.lang.String keyStorePassword
    • Constructor Detail

      • HTTPSServerConfig

        public HTTPSServerConfig​(java.io.File keystore,
                                 java.lang.String keyStorePassword)
        Parameters:
        keystore - a Java keystore file as created with the keytool command
        keyStorePassword - the password for the keystore
      • HTTPSServerConfig

        public HTTPSServerConfig​(int serverPort,
                                 boolean verbose,
                                 java.io.File keystore,
                                 java.lang.String keyStorePassword)
        Parameters:
        serverPort - the port to bind to
        verbose - when set to true, the input text will be logged in case there is an exception
        keystore - a Java keystore file as created with the keytool command
        keyStorePassword - the password for the keystore
      • HTTPSServerConfig

        HTTPSServerConfig​(int serverPort,
                          boolean verbose,
                          java.io.File keystore,
                          java.lang.String keyStorePassword,
                          int requestLimit,
                          int requestLimitPeriodInSeconds)
        Parameters:
        serverPort - the port to bind to
        verbose - when set to true, the input text will be logged in case there is an exception
        keystore - a Java keystore file as created with the keytool command
        keyStorePassword - the password for the keystore
        Since:
        2.1
      • HTTPSServerConfig

        HTTPSServerConfig​(java.lang.String[] args)
        Parse command line options and load settings from property file.
    • Method Detail

      • getKeystore

        java.io.File getKeystore()
      • getKeyStorePassword

        java.lang.String getKeyStorePassword()