Class SystemProperties

java.lang.Object
org.apache.commons.lang3.SystemProperties

public final class SystemProperties extends Object
Accesses current system property names and values.
Since:
3.13.0
See Also:
  • Field Details

  • Constructor Details

    • SystemProperties

      @Deprecated public SystemProperties()
      Deprecated.
      TODO Make private in 4.0.
      Make private in 4.0.
  • Method Details

    • getAppleAwtEnableTemplateImages

      public static String getAppleAwtEnableTemplateImages()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getAwtToolkit

      public static String getAwtToolkit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getBoolean

      public static boolean getBoolean(String key, BooleanSupplier defaultIfAbsent)
      Gets the current value for the property named key as an boolean.
      Parameters:
      key - The key
      defaultIfAbsent - The default value
      Returns:
      an boolean or defaultIfAbsent
    • getComSunJndiLdapObjectTrustSerialData

      public static String getComSunJndiLdapObjectTrustSerialData()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getComSunNetHttpServerHttpServerProvider

      public static String getComSunNetHttpServerHttpServerProvider()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getFileEncoding

      public static String getFileEncoding()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getFileSeparator

      public static String getFileSeparator()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getFtpNonProxyHost

      public static String getFtpNonProxyHost()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getFtpProxyHost

      public static String getFtpProxyHost()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getFtpProxyPort

      public static String getFtpProxyPort()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpAgent

      public static String getHttpAgent()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpAuthDigestCnonceRepeat

      public static String getHttpAuthDigestCnonceRepeat()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpAuthDigestReenabledAlgorithms

      public static String getHttpAuthDigestReenabledAlgorithms()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpAuthDigestValidateProxy

      public static String getHttpAuthDigestValidateProxy()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpAuthDigestValidateServer

      public static String getHttpAuthDigestValidateServer()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpAuthNtlmDomain

      public static String getHttpAuthNtlmDomain()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpKeepAlive

      public static String getHttpKeepAlive()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpKeepAliveTimeProxy

      public static String getHttpKeepAliveTimeProxy()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpKeepAliveTimeServer

      public static String getHttpKeepAliveTimeServer()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpMaxConnections

      public static String getHttpMaxConnections()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpMaxRedirects

      public static String getHttpMaxRedirects()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpNonProxyHosts

      public static String getHttpNonProxyHosts()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpProxyHost

      public static String getHttpProxyHost()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpProxyPort

      public static String getHttpProxyPort()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpsProxyHost

      public static String getHttpsProxyHost()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getHttpsProxyPort

      public static String getHttpsProxyPort()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getInt

      public static int getInt(String key, IntSupplier defaultIfAbsent)
      Gets the current value for the property named key as an int.
      Parameters:
      key - The key
      defaultIfAbsent - The default value
      Returns:
      an int or defaultIfAbsent
    • getJavaAwtFonts

      public static String getJavaAwtFonts()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaAwtGraphicsenv

      public static String getJavaAwtGraphicsenv()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaAwtHeadless

      public static String getJavaAwtHeadless()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaAwtPrinterjob

      public static String getJavaAwtPrinterjob()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaClassPath

      public static String getJavaClassPath()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaClassVersion

      public static String getJavaClassVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaCompiler

      public static String getJavaCompiler()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaContentHandlerPkgs

      public static String getJavaContentHandlerPkgs()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaEndorsedDirs

      public static String getJavaEndorsedDirs()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaExtDirs

      public static String getJavaExtDirs()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaHome

      public static String getJavaHome()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaIoTmpdir

      public static String getJavaIoTmpdir()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaLibraryPath

      public static String getJavaLibraryPath()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaLocaleProviders

      public static String getJavaLocaleProviders()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Java 9 and above.

      Returns:
      the current value from the system properties map.
    • getJavaLocaleUseOldIsoCodes

      public static String getJavaLocaleUseOldIsoCodes()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNetPreferIpv4Stack

      public static String getJavaNetPreferIpv4Stack()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNetPreferIpv6Addresses

      public static String getJavaNetPreferIpv6Addresses()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNetSocksPassword

      public static String getJavaNetSocksPassword()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNetSocksUserName

      public static String getJavaNetSocksUserName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNetUseSystemProxies

      public static String getJavaNetUseSystemProxies()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNioChannelsDefaultThreadPoolInitialSize

      public static String getJavaNioChannelsDefaultThreadPoolInitialSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNioChannelsDefaultThreadPoolThreadFactory

      public static String getJavaNioChannelsDefaultThreadPoolThreadFactory()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNioChannelsSpiAsynchronousChannelProvider

      public static String getJavaNioChannelsSpiAsynchronousChannelProvider()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNioChannelsSpiSelectorProvider

      public static String getJavaNioChannelsSpiSelectorProvider()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaNioFileSpiDefaultFileSystemProvider

      public static String getJavaNioFileSpiDefaultFileSystemProvider()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaPropertiesDate

      public static String getJavaPropertiesDate()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaProtocolHandlerPkgs

      public static String getJavaProtocolHandlerPkgs()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaRmiServerCodebase

      public static String getJavaRmiServerCodebase()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaRmiServerHostName

      public static String getJavaRmiServerHostName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaRmiServerRandomIds

      public static String getJavaRmiServerRandomIds()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaRmiServerRmiClassLoaderSpi

      public static String getJavaRmiServerRmiClassLoaderSpi()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaRuntimeName

      public static String getJavaRuntimeName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaRuntimeVersion

      public static String getJavaRuntimeVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaSecurityAuthLoginConfig

      public static String getJavaSecurityAuthLoginConfig()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaSecurityManager

      public static String getJavaSecurityManager()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaSpecificationMaintenanceVersion

      public static String getJavaSpecificationMaintenanceVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaSpecificationName

      public static String getJavaSpecificationName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaSpecificationVendor

      public static String getJavaSpecificationVendor()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaSpecificationVersion

      public static String getJavaSpecificationVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaSpecificationVersion

      public static String getJavaSpecificationVersion(String defaultValue)
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Parameters:
      defaultValue - get this Supplier when the property is empty or throws SecurityException.
      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaSystemClassLoader

      public static String getJavaSystemClassLoader()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaTimeZoneDefaultZoneRulesProvider

      public static String getJavaTimeZoneDefaultZoneRulesProvider()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilConcurrentForkJoinPoolCommonExceptionHandler

      public static String getJavaUtilConcurrentForkJoinPoolCommonExceptionHandler()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilConcurrentForkJoinPoolCommonMaximumSpares

      public static String getJavaUtilConcurrentForkJoinPoolCommonMaximumSpares()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilConcurrentForkJoinPoolCommonParallelism

      public static String getJavaUtilConcurrentForkJoinPoolCommonParallelism()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilConcurrentForkJoinPoolCommonThreadFactory

      public static String getJavaUtilConcurrentForkJoinPoolCommonThreadFactory()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilCurrencyData

      public static String getJavaUtilCurrencyData()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilLoggingConfigClass

      public static String getJavaUtilLoggingConfigClass()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilLoggingConfigFile

      public static String getJavaUtilLoggingConfigFile()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilLoggingSimpleFormatterFormat

      public static String getJavaUtilLoggingSimpleFormatterFormat()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaUtilPrefsPreferencesFactory

      public static String getJavaUtilPrefsPreferencesFactory()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaUtilPropertyResourceBundleEncoding

      public static String getJavaUtilPropertyResourceBundleEncoding()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaVendor

      public static String getJavaVendor()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVendorUrl

      public static String getJavaVendorUrl()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVendorVersion

      public static String getJavaVendorVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaVersion

      public static String getJavaVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVersionDate

      public static String getJavaVersionDate()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaVmInfo

      public static String getJavaVmInfo()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVmName

      public static String getJavaVmName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVmSpecificationName

      public static String getJavaVmSpecificationName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVmSpecificationVendor

      public static String getJavaVmSpecificationVendor()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVmSpecificationVersion

      public static String getJavaVmSpecificationVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVmVendor

      public static String getJavaVmVendor()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaVmVersion

      public static String getJavaVmVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getJavaxAccessibilityAssistiveTechnologies

      public static String getJavaxAccessibilityAssistiveTechnologies()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaXmlConfigFile

      public static String getJavaXmlConfigFile()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaxNetSslSessionCacheSize

      public static String getJavaxNetSslSessionCacheSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaxRmiSslClientEnabledCipherSuites

      public static String getJavaxRmiSslClientEnabledCipherSuites()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaxRmiSslClientEnabledProtocols

      public static String getJavaxRmiSslClientEnabledProtocols()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaxSecurityAuthUseSubjectCredsOnly

      public static String getJavaxSecurityAuthUseSubjectCredsOnly()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJavaxSmartCardIoTerminalFactoryDefaultType

      public static String getJavaxSmartCardIoTerminalFactoryDefaultType()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdbcDrivers

      public static String getJdbcDrivers()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpAuthProxyingDisabledSchemes

      public static String getJdkHttpAuthProxyingDisabledSchemes()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpAuthTunnelingDisabledSchemes

      public static String getJdkHttpAuthTunnelingDisabledSchemes()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientAllowRestrictedHeaders

      public static String getJdkHttpClientAllowRestrictedHeaders()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientAuthRetryLimit

      public static String getJdkHttpClientAuthRetryLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientBufSize

      public static String getJdkHttpClientBufSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientConnectionPoolSize

      public static String getJdkHttpClientConnectionPoolSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientConnectionWindowSize

      public static String getJdkHttpClientConnectionWindowSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientDisableRetryConnect

      public static String getJdkHttpClientDisableRetryConnect()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientEnableAllMethodRetry

      public static String getJdkHttpClientEnableAllMethodRetry()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientEnablePush

      public static String getJdkHttpClientEnablePush()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientHpackMaxHeaderTableSize

      public static String getJdkHttpClientHpackMaxHeaderTableSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientHttpClientLog

      public static String getJdkHttpClientHttpClientLog()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientKeepAliveTimeout

      public static String getJdkHttpClientKeepAliveTimeout()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientKeepAliveTimeoutH2

      public static String getJdkHttpClientKeepAliveTimeoutH2()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientMaxFrameSize

      public static String getJdkHttpClientMaxFrameSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientMaxStreams

      public static String getJdkHttpClientMaxStreams()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientReceiveBufferSize

      public static String getJdkHttpClientReceiveBufferSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientRedirectsRetryLimit

      public static String getJdkHttpClientRedirectsRetryLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientSendBufferSize

      public static String getJdkHttpClientSendBufferSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientWebSocketWriteBufferSize

      public static String getJdkHttpClientWebSocketWriteBufferSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpClientWindowSize

      public static String getJdkHttpClientWindowSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpServerMaxConnections

      public static String getJdkHttpServerMaxConnections()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkHttpsNegotiateCbt

      public static String getJdkHttpsNegotiateCbt()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkIncludeInExceptions

      public static String getJdkIncludeInExceptions()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkInternalHttpClientDisableHostNameVerification

      public static String getJdkInternalHttpClientDisableHostNameVerification()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkIoPermissionsUseCanonicalPath

      public static String getJdkIoPermissionsUseCanonicalPath()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkJndiLdapObjectFactoriesFilter

      public static String getJdkJndiLdapObjectFactoriesFilter()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkJndiObjectFactoriesFilter

      public static String getJdkJndiObjectFactoriesFilter()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkJndiRmiObjectFactoriesFilter

      public static String getJdkJndiRmiObjectFactoriesFilter()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkModuleMain

      public static String getJdkModuleMain()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkModuleMainClass

      public static String getJdkModuleMainClass()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkModulePath

      public static String getJdkModulePath()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkModuleUpgradePath

      public static String getJdkModuleUpgradePath()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkNetUnixDomainTmpDir

      public static String getJdkNetUnixDomainTmpDir()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkNetUrlClassPathShowIgnoredClassPathEntries

      public static String getJdkNetUrlClassPathShowIgnoredClassPathEntries()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkSerialFilter

      public static String getJdkSerialFilter()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkSerialFilterFactory

      public static String getJdkSerialFilterFactory()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkTlsClientSignatureSchemes

      public static String getJdkTlsClientSignatureSchemes()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkTlsNamedGroups

      public static String getJdkTlsNamedGroups()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkTlsServerSignatureSchemes

      public static String getJdkTlsServerSignatureSchemes()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkVirtualThreadSchedulerMaxPoolSize

      public static String getJdkVirtualThreadSchedulerMaxPoolSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkVirtualThreadSchedulerParallelism

      public static String getJdkVirtualThreadSchedulerParallelism()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlCdataChunkSize

      public static String getJdkXmlCdataChunkSize()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlDtdSupport

      public static String getJdkXmlDtdSupport()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlElementAttributeLimit

      public static String getJdkXmlElementAttributeLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlEnableExtensionFunctions

      public static String getJdkXmlEnableExtensionFunctions()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlEntityExpansionLimit

      public static String getJdkXmlEntityExpansionLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlEntityReplacementLimit

      public static String getJdkXmlEntityReplacementLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlIsStandalone

      public static String getJdkXmlIsStandalone()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlJdkCatalogResolve

      public static String getJdkXmlJdkCatalogResolve()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlMaxElementDepth

      public static String getJdkXmlMaxElementDepth()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlMaxGeneralEntitySizeLimit

      public static String getJdkXmlMaxGeneralEntitySizeLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlMaxOccurLimit

      public static String getJdkXmlMaxOccurLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlMaxParameterEntitySizeLimit

      public static String getJdkXmlMaxParameterEntitySizeLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlMaxXmlNameLimit

      public static String getJdkXmlMaxXmlNameLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlOverrideDefaultParser

      public static String getJdkXmlOverrideDefaultParser()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlResetSymbolTable

      public static String getJdkXmlResetSymbolTable()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlTotalEntitySizeLimit

      public static String getJdkXmlTotalEntitySizeLimit()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getJdkXmlXsltcIsStandalone

      public static String getJdkXmlXsltcIsStandalone()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getLineSeparator

      public static String getLineSeparator()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getLineSeparator

      public static String getLineSeparator(Supplier<String> defaultIfAbsent)
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Parameters:
      defaultIfAbsent - get this Supplier when the property is empty or throws SecurityException.
      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getLong

      public static long getLong(String key, LongSupplier defaultIfAbsent)
      Gets the current value for the property named key as a long.
      Parameters:
      key - The key
      defaultIfAbsent - The default value
      Returns:
      a long or defaultIfAbsent
    • getNativeEncoding

      public static String getNativeEncoding()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getNetworkAddressCacheNegativeTtl

      public static String getNetworkAddressCacheNegativeTtl()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getNetworkAddressCacheStaleTtl

      public static String getNetworkAddressCacheStaleTtl()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getNetworkAddressCacheTtl

      public static String getNetworkAddressCacheTtl()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getOrgJcpXmlDsigSecureValidation

      public static String getOrgJcpXmlDsigSecureValidation()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getOrgOpenJdkJavaUtilStreamTripwire

      public static String getOrgOpenJdkJavaUtilStreamTripwire()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getOsArch

      public static String getOsArch()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getOsName

      public static String getOsName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getOsVersion

      public static String getOsVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getPathSeparator

      public static String getPathSeparator()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getProperty

      public static String getProperty(String property)
      Gets a System property, defaulting to null if the property cannot be read.

      If a SecurityException is caught, the return value is null.

      Parameters:
      property - the system property name
      Returns:
      the system property value or null if a security problem occurs
    • getSocksProxyHost

      public static String getSocksProxyHost()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSocksProxyPort

      public static String getSocksProxyPort()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSocksProxyVersion

      public static String getSocksProxyVersion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getStdErrEncoding

      public static String getStdErrEncoding()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getStdOutEncoding

      public static String getStdOutEncoding()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunNetHttpServerDrainAmount

      public static String getSunNetHttpServerDrainAmount()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunNetHttpServerIdleInterval

      public static String getSunNetHttpServerIdleInterval()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunNetHttpServerMaxIdleConnections

      public static String getSunNetHttpServerMaxIdleConnections()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunNetHttpServerMaxReqHeaders

      public static String getSunNetHttpServerMaxReqHeaders()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunNetHttpServerMaxReqTime

      public static String getSunNetHttpServerMaxReqTime()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunNetHttpServerMaxRspTime

      public static String getSunNetHttpServerMaxRspTime()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunNetHttpServerNoDelay

      public static String getSunNetHttpServerNoDelay()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getSunSecurityKrb5Principal

      public static String getSunSecurityKrb5Principal()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getUserCountry

      public static String getUserCountry()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getUserDir

      public static String getUserDir()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getUserExtensions

      public static String getUserExtensions()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getUserHome

      public static String getUserHome()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getUserLanguage

      public static String getUserLanguage()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getUserName

      public static String getUserName()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getUserName

      public static String getUserName(String defaultValue)
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Parameters:
      defaultValue - get this Supplier when the property is empty or throws SecurityException.
      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getUserRegion

      public static String getUserRegion()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getUserScript

      public static String getUserScript()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0
    • getUserTimezone

      public static String getUserTimezone()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
    • getUserVariant

      public static String getUserVariant()
      Gets the current value from the system properties map.

      Returns null if the property cannot be read due to a SecurityException.

      Returns:
      the current value from the system properties map.
      Since:
      3.15.0