Class OpenSsl


  • public final class OpenSsl
    extends Object
    Tells if netty-tcnative and its OpenSSL support are available.
    • 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:
        UnsatisfiedLinkError - if unavailable
      • unavailabilityCause

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