Home
last modified time | relevance | path

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

/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java65 private enum NegotiationType { enum in OkHttpChannelBuilder
157 private NegotiationType negotiationType = NegotiationType.TLS;
201 public final OkHttpChannelBuilder negotiationType(io.grpc.okhttp.NegotiationType type) { in negotiationType()
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()
DNegotiationType.java27 public enum NegotiationType { enum
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyChannelBuilderTest.java101 .negotiationType(NegotiationType.PLAINTEXT) in overrideAllowsInvalidAuthority()
144 NegotiationType.PLAINTEXT, in createProtocolNegotiatorByType_plaintext()
153 NegotiationType.PLAINTEXT_UPGRADE, in createProtocolNegotiatorByType_plaintextUpgrade()
163 NegotiationType.TLS, in createProtocolNegotiatorByType_tlsWithNoContext()
170 NegotiationType.TLS, in createProtocolNegotiatorByType_tlsWithClientContext()
184 NegotiationType.TLS, in createProtocolNegotiatorByType_tlsWithAuthorityFallback()
DNettyTransportTest.java43 .negotiationType(NegotiationType.PLAINTEXT)
DTlsTest.java338 .negotiationType(NegotiationType.TLS) in clientChannel()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyChannelBuilder.java71 private NegotiationType negotiationType = NegotiationType.TLS;
160 public NettyChannelBuilder negotiationType(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()
383 NegotiationType negotiationType, in createProtocolNegotiatorByType()
DNegotiationType.java25 public enum NegotiationType { enum
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DReconnectTestClient.java23 import io.grpc.netty.NegotiationType;
70 .negotiationType(NegotiationType.PLAINTEXT).build(); in runTest()
79 .negotiationType(NegotiationType.TLS).build(); in runTest()
DTestServiceClient.java28 import io.grpc.netty.NegotiationType;
373 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
DHttp2Client.java29 import io.grpc.netty.NegotiationType;
367 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
DStressTestClient.java42 import io.grpc.netty.NegotiationType;
352 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/
DTransportBenchmark.java33 import io.grpc.netty.NegotiationType;
91 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
102 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
126 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DAutoWindowSizingOnTest.java22 import io.grpc.netty.NegotiationType;
47 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
DHttp2NettyLocalChannelTest.java21 import io.grpc.netty.NegotiationType;
49 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
DConcurrencyTest.java25 import io.grpc.netty.NegotiationType;
224 .negotiationType(NegotiationType.TLS) in newClientChannel()
DNettyFlowControlTest.java28 import io.grpc.netty.NegotiationType;
173 .negotiationType(NegotiationType.PLAINTEXT) in resetConnection()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/
DHelloWorldClientTls.java26 import io.grpc.netty.NegotiationType;
67 .negotiationType(NegotiationType.TLS) in HelloWorldClientTls()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java32 import io.grpc.netty.NegotiationType;
228 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/ ...