Class OpenSsl


  • public final class OpenSsl
    extends java.lang.Object
    Tells if netty-tcnative and its OpenSSL support are available.
    • Field Detail

      • UNAVAILABILITY_CAUSE

        private static final java.lang.Throwable UNAVAILABILITY_CAUSE
      • IGNORABLE_ERROR_PREFIX

        static final java.lang.String IGNORABLE_ERROR_PREFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • OpenSsl

        private OpenSsl()
    • Method Detail

      • isAvailable

        public static boolean isAvailable()
        Returns true if and only if netty-tcnative and its OpenSSL support are available.
      • ensureAvailability

        public static void ensureAvailability()
        Ensure that netty-tcnative and its OpenSSL support are available.
        Throws:
        java.lang.UnsatisfiedLinkError - if unavailable
      • unavailabilityCause

        public static java.lang.Throwable unavailabilityCause()
        Returns the cause of unavailability of netty-tcnative and its OpenSSL support.
        Returns:
        the cause if unavailable. null if available.