public final class OpenSsl
extends java.lang.Object
netty-tcnative and its OpenSSL support
are available.| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.String |
IGNORABLE_ERROR_PREFIX |
private static InternalLogger |
logger |
private static java.lang.Throwable |
UNAVAILABILITY_CAUSE |
| Modifier | Constructor and Description |
|---|---|
private |
OpenSsl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureAvailability()
Ensure that
netty-tcnative and
its OpenSSL support are available. |
static boolean |
isAvailable()
Returns
true if and only if
netty-tcnative and its OpenSSL support
are available. |
static java.lang.Throwable |
unavailabilityCause()
Returns the cause of unavailability of
netty-tcnative and its OpenSSL support. |
private static final InternalLogger logger
private static final java.lang.Throwable UNAVAILABILITY_CAUSE
static final java.lang.String IGNORABLE_ERROR_PREFIX
public static boolean isAvailable()
true if and only if
netty-tcnative and its OpenSSL support
are available.public static void ensureAvailability()
netty-tcnative and
its OpenSSL support are available.java.lang.UnsatisfiedLinkError - if unavailablepublic static java.lang.Throwable unavailabilityCause()
netty-tcnative and its OpenSSL support.null if available.