Home
last modified time | relevance | path

Searched refs:alpnNegotiator (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DGrpcSslContexts.java297 io.netty.handler.ssl.ApplicationProtocolNegotiator alpnNegotiator) { in ensureAlpnAndH2Enabled() argument
298 checkArgument(alpnNegotiator != null, "ALPN must be configured"); in ensureAlpnAndH2Enabled()
299 checkArgument(alpnNegotiator.protocols() != null && !alpnNegotiator.protocols().isEmpty(), in ensureAlpnAndH2Enabled()
302 alpnNegotiator.protocols().contains(HTTP2_VERSION), in ensureAlpnAndH2Enabled()
305 alpnNegotiator.protocols()); in ensureAlpnAndH2Enabled()