Class OpenSsl
java.lang.Object
org.jboss.netty.handler.ssl.OpenSsl
Tells if
netty-tcnative and its OpenSSL support
are available.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Stringprivate static final InternalLoggerprivate static final Throwable -
Constructor Summary
Constructors -
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.
-
Field Details
-
logger
-
UNAVAILABILITY_CAUSE
-
IGNORABLE_ERROR_PREFIX
- See Also:
-
-
Constructor Details
-
OpenSsl
private OpenSsl()
-
-
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
-