Class ServerConfigApr


  • public class ServerConfigApr
    extends Object
    Configures an [APR Lifecycle Listener](https://tomcat.apache.org/tomcat-10.0-doc/config/listeners.html) for the underlying tomcat server.
    • Constructor Detail

      • ServerConfigApr

        public ServerConfigApr()
    • Method Detail

      • getEnabled

        @Nullable
        public @Nullable Boolean getEnabled()
        When set to true, the APR Lifecycle Listener shall be activated.
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(Boolean enabled)
      • getFipsMode

        @Nullable
        public @Nullable String getFipsMode()
        Set this to \"on\" to request SSL to operate in FIPS (Federal Information Processing Standards) mode. * \"enter\" to force OpenSSL to enter FIPS mode. * \"require\" to require that OpenSSL already operates in FIPS mode. * \"off\" to disable the FIPS mode. For this to take effect \"useOpenSSL\" must be set to true. (It is highly recommended to refer to https://tomcat.apache.org/tomcat-10.0-doc/config/listeners.html)
        Returns:
        fipsMode
      • setFipsMode

        public void setFipsMode​(String fipsMode)
      • getSslEngine

        @Nullable
        public @Nullable String getSslEngine()
        Selects the [SSL](https://www.openssl.org/) engine to use, possible values are \"off\" (do not use SSL) \"on\" (use SSL without specifying the engine).
        Returns:
        sslEngine
      • setSslEngine

        public void setSslEngine​(String sslEngine)
      • getSslRandomSeed

        @Nullable
        public @Nullable String getSslRandomSeed()
        An entropy source to seed the SSL engine's random number generation with. To allow for quicker start time, set this to \"/dev/urandom\".
        Returns:
        sslRandomSeed
      • setSslRandomSeed

        public void setSslRandomSeed​(String sslRandomSeed)
      • getUseAprConnector

        @Nullable
        public @Nullable Boolean getUseAprConnector()
        This field currently is unused.
        Returns:
        useAprConnector
      • setUseAprConnector

        public void setUseAprConnector​(Boolean useAprConnector)
      • getUseOpenSSL

        @Nullable
        public @Nullable Boolean getUseOpenSSL()
        When set to true this activates the usage of OpenSSL for NIO and NIO2 connectors.
        Returns:
        useOpenSSL
      • setUseOpenSSL

        public void setUseOpenSSL​(Boolean useOpenSSL)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object