Package io.grpc.netty
Class JettyTlsUtil
- java.lang.Object
-
- io.grpc.netty.JettyTlsUtil
-
final class JettyTlsUtil extends java.lang.ObjectUtility class for determining support for Jetty TLS ALPN/NPN.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classJettyTlsUtil.Java9AlpnUnavailabilityCauseHolder
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.ThrowablejettyAlpnUnavailabilityCauseprivate static java.lang.ThrowablejettyNpnUnavailabilityCause
-
Constructor Summary
Constructors Modifier Constructor Description privateJettyTlsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.ThrowablegetJava9AlpnUnavailabilityCause()(package private) static java.lang.ThrowablegetJettyAlpnUnavailabilityCause()(package private) static java.lang.ThrowablegetJettyNpnUnavailabilityCause()(package private) static booleanisJava9AlpnAvailable()Indicates whether Java 9 ALPN is available.(package private) static booleanisJettyAlpnConfigured()Indicates whether or not the Jetty ALPN jar is installed in the boot classloader.(package private) static booleanisJettyNpnConfigured()Indicates whether or not the Jetty NPN jar is installed in the boot classloader.
-
-
-
Method Detail
-
isJettyAlpnConfigured
static boolean isJettyAlpnConfigured()
Indicates whether or not the Jetty ALPN jar is installed in the boot classloader.
-
getJettyAlpnUnavailabilityCause
static java.lang.Throwable getJettyAlpnUnavailabilityCause()
-
isJettyNpnConfigured
static boolean isJettyNpnConfigured()
Indicates whether or not the Jetty NPN jar is installed in the boot classloader.
-
getJettyNpnUnavailabilityCause
static java.lang.Throwable getJettyNpnUnavailabilityCause()
-
isJava9AlpnAvailable
static boolean isJava9AlpnAvailable()
Indicates whether Java 9 ALPN is available.
-
getJava9AlpnUnavailabilityCause
static java.lang.Throwable getJava9AlpnUnavailabilityCause()
-
-