Class OpenSsl

java.lang.Object
org.jboss.netty.handler.ssl.OpenSsl

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

  • Constructor Details

    • OpenSsl

      private OpenSsl()
  • Method Details

    • 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.