Package org.jboss.netty.handler.ssl
Class OpenSsl
- java.lang.Object
-
- org.jboss.netty.handler.ssl.OpenSsl
-
public final class OpenSsl extends Object
Tells ifnetty-tcnativeand its OpenSSL support are available.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidensureAvailability()Ensure thatnetty-tcnativeand its OpenSSL support are available.static booleanisAvailable()Returnstrueif and only ifnetty-tcnativeand its OpenSSL support are available.static ThrowableunavailabilityCause()Returns the cause of unavailability ofnetty-tcnativeand its OpenSSL support.
-
-
-
Method Detail
-
isAvailable
public static boolean isAvailable()
Returnstrueif and only ifnetty-tcnativeand its OpenSSL support are available.
-
ensureAvailability
public static void ensureAvailability()
Ensure thatnetty-tcnativeand its OpenSSL support are available.- Throws:
UnsatisfiedLinkError- if unavailable
-
unavailabilityCause
public static Throwable unavailabilityCause()
Returns the cause of unavailability ofnetty-tcnativeand its OpenSSL support.- Returns:
- the cause if unavailable.
nullif available.
-
-