public final class Quic
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureAvailability()
Ensure that QUIC implementation is usable on the running platform is available.
|
static boolean |
isAvailable()
Returns
true if and only if the QUIC implementation is usable on the running platform is available. |
static boolean |
isVersionSupported(int version)
Return if the given QUIC version is supported.
|
static @Nullable java.lang.Throwable |
unavailabilityCause()
Returns the cause of unavailability.
|
public static boolean isVersionSupported(int version)
version - the version.true if supported, false otherwise.public static boolean isAvailable()
true if and only if the QUIC implementation is usable on the running platform is available.true if this QUIC implementation can be used on the current platform, false otherwise.public static void ensureAvailability()
java.lang.UnsatisfiedLinkError - if unavailable@Nullable public static @Nullable java.lang.Throwable unavailabilityCause()
null if available.Copyright © 2020-2024 The Netty Project. All Rights Reserved.