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.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String
private static final InternalLogger
private static final Throwable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Ensure thatnetty-tcnative
and its OpenSSL support are available.static boolean
Returnstrue
if and only ifnetty-tcnative
and its OpenSSL support are available.static Throwable
Returns the cause of unavailability ofnetty-tcnative
and 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()Returnstrue
if and only ifnetty-tcnative
and its OpenSSL support are available. -
ensureAvailability
public static void ensureAvailability()Ensure thatnetty-tcnative
and its OpenSSL support are available.- Throws:
UnsatisfiedLinkError
- if unavailable
-