Package io.grpc.netty
Class JettyTlsUtil
- java.lang.Object
-
- io.grpc.netty.JettyTlsUtil
-
final class JettyTlsUtil extends java.lang.Object
Utility class for determining support for Jetty TLS ALPN/NPN.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
JettyTlsUtil.Java9AlpnUnavailabilityCauseHolder
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.Throwable
jettyAlpnUnavailabilityCause
private static java.lang.Throwable
jettyNpnUnavailabilityCause
-
Constructor Summary
Constructors Modifier Constructor Description private
JettyTlsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.Throwable
getJava9AlpnUnavailabilityCause()
(package private) static java.lang.Throwable
getJettyAlpnUnavailabilityCause()
(package private) static java.lang.Throwable
getJettyNpnUnavailabilityCause()
(package private) static boolean
isJava9AlpnAvailable()
Indicates whether Java 9 ALPN is available.(package private) static boolean
isJettyAlpnConfigured()
Indicates whether or not the Jetty ALPN jar is installed in the boot classloader.(package private) static boolean
isJettyNpnConfigured()
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()
-
-