Home
last modified time | relevance | path

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

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyChannelBuilder.java71 private NegotiationType negotiationType = NegotiationType.TLS; field in NettyChannelBuilder
160 public NettyChannelBuilder negotiationType(NegotiationType type) { in negotiationType() method in NettyChannelBuilder
161 negotiationType = type; in negotiationType()
236 negotiationType(NegotiationType.PLAINTEXT); in usePlaintext()
238 negotiationType(NegotiationType.PLAINTEXT_UPGRADE); in usePlaintext()
248 negotiationType(NegotiationType.PLAINTEXT); in usePlaintext()
257 negotiationType(NegotiationType.TLS); in useTransportSecurity()
338 if (negotiationType == NegotiationType.TLS && localSslContext == null) { in buildTransportFactory()
346 createProtocolNegotiatorByType(negotiationType, localSslContext); in buildTransportFactory()
361 switch (negotiationType) { in getNameResolverParams()
[all …]
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java157 private NegotiationType negotiationType = NegotiationType.TLS; field in OkHttpChannelBuilder
201 public final OkHttpChannelBuilder negotiationType(io.grpc.okhttp.NegotiationType type) { in negotiationType() method in OkHttpChannelBuilder
205 negotiationType = NegotiationType.TLS; in negotiationType()
208 negotiationType = NegotiationType.PLAINTEXT; in negotiationType()
293 negotiationType = NegotiationType.TLS; in sslSocketFactory()
350 negotiationType(io.grpc.okhttp.NegotiationType.PLAINTEXT); in usePlaintext()
360 negotiationType = NegotiationType.PLAINTEXT; in usePlaintext()
374 negotiationType = NegotiationType.TLS; in useTransportSecurity()
408 switch (negotiationType) { in getNameResolverParams()
416 throw new AssertionError(negotiationType + " not handled"); in getNameResolverParams()
[all …]
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/
DTransportBenchmark.java91 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
102 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
126 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DReconnectTestClient.java70 .negotiationType(NegotiationType.PLAINTEXT).build(); in runTest()
79 .negotiationType(NegotiationType.TLS).build(); in runTest()
DHttp2Client.java367 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
DTestServiceClient.java373 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
DStressTestClient.java352 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DAutoWindowSizingOnTest.java47 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
DHttp2NettyLocalChannelTest.java49 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
DConcurrencyTest.java224 .negotiationType(NegotiationType.TLS) in newClientChannel()
DNettyFlowControlTest.java173 .negotiationType(NegotiationType.PLAINTEXT) in resetConnection()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyTransportTest.java43 .negotiationType(NegotiationType.PLAINTEXT)
DNettyChannelBuilderTest.java101 .negotiationType(NegotiationType.PLAINTEXT) in overrideAllowsInvalidAuthority()
DTlsTest.java338 .negotiationType(NegotiationType.TLS) in clientChannel()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/
DHelloWorldClientTls.java67 .negotiationType(NegotiationType.TLS) in HelloWorldClientTls()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java228 channelBuilder.negotiationType(NegotiationType.PLAINTEXT); in setup()
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...