Searched refs:NegotiationType (Results 1 – 19 of 19) sorted by relevance
65 private enum NegotiationType { enum in OkHttpChannelBuilder157 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()
27 public enum NegotiationType { enum
101 .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()
43 .negotiationType(NegotiationType.PLAINTEXT)
338 .negotiationType(NegotiationType.TLS) in clientChannel()
71 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()
25 public enum NegotiationType { enum
23 import io.grpc.netty.NegotiationType;70 .negotiationType(NegotiationType.PLAINTEXT).build(); in runTest()79 .negotiationType(NegotiationType.TLS).build(); in runTest()
28 import io.grpc.netty.NegotiationType;373 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
29 import io.grpc.netty.NegotiationType;367 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
42 import io.grpc.netty.NegotiationType;352 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
33 import io.grpc.netty.NegotiationType;91 .negotiationType(NegotiationType.PLAINTEXT); in setUp()102 .negotiationType(NegotiationType.PLAINTEXT); in setUp()126 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
22 import io.grpc.netty.NegotiationType;47 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
21 import io.grpc.netty.NegotiationType;49 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
25 import io.grpc.netty.NegotiationType;224 .negotiationType(NegotiationType.TLS) in newClientChannel()
28 import io.grpc.netty.NegotiationType;173 .negotiationType(NegotiationType.PLAINTEXT) in resetConnection()
26 import io.grpc.netty.NegotiationType;67 .negotiationType(NegotiationType.TLS) in HelloWorldClientTls()
32 import io.grpc.netty.NegotiationType;228 channelBuilder.negotiationType(NegotiationType.PLAINTEXT); in setup()
META-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...