Package org.jboss.netty.handler.ssl
Class OpenSsl
java.lang.Object
org.jboss.netty.handler.ssl.OpenSsl
Tells if
netty-tcnative and its OpenSSL support
are available.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidEnsure thatnetty-tcnativeand its OpenSSL support are available.static booleanReturnstrueif and only ifnetty-tcnativeand its OpenSSL support are available.static ThrowableReturns the cause of unavailability ofnetty-tcnativeand its OpenSSL support.
-
Method Details
-
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
-