Searched refs:negotiationType (Results 1 – 17 of 17) sorted by relevance
71 private NegotiationType negotiationType = NegotiationType.TLS; field in NettyChannelBuilder160 public NettyChannelBuilder negotiationType(NegotiationType type) { in negotiationType() method in NettyChannelBuilder161 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 …]
157 private NegotiationType negotiationType = NegotiationType.TLS; field in OkHttpChannelBuilder201 public final OkHttpChannelBuilder negotiationType(io.grpc.okhttp.NegotiationType type) { in negotiationType() method in OkHttpChannelBuilder205 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 …]
91 .negotiationType(NegotiationType.PLAINTEXT); in setUp()102 .negotiationType(NegotiationType.PLAINTEXT); in setUp()126 .negotiationType(NegotiationType.PLAINTEXT); in setUp()
70 .negotiationType(NegotiationType.PLAINTEXT).build(); in runTest()79 .negotiationType(NegotiationType.TLS).build(); in runTest()
367 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
373 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
352 .negotiationType(useTls ? NegotiationType.TLS : NegotiationType.PLAINTEXT) in createChannel()
47 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
49 .negotiationType(NegotiationType.PLAINTEXT) in createChannel()
224 .negotiationType(NegotiationType.TLS) in newClientChannel()
173 .negotiationType(NegotiationType.PLAINTEXT) in resetConnection()
43 .negotiationType(NegotiationType.PLAINTEXT)
101 .negotiationType(NegotiationType.PLAINTEXT) in overrideAllowsInvalidAuthority()
338 .negotiationType(NegotiationType.TLS) in clientChannel()
67 .negotiationType(NegotiationType.TLS) in HelloWorldClientTls()
228 channelBuilder.negotiationType(NegotiationType.PLAINTEXT); in setup()
META-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...