(int port, SslContext sslContext)
| 403 | |
| 404 | |
| 405 | private static ManagedChannel clientChannel(int port, SslContext sslContext) throws IOException { |
| 406 | return NettyChannelBuilder.forAddress("localhost", port) |
| 407 | .overrideAuthority(TestUtils.TEST_SERVER_HOST) |
| 408 | .negotiationType(NegotiationType.TLS) |
| 409 | .sslContext(sslContext) |
| 410 | .build(); |
| 411 | } |
| 412 | |
| 413 | private static class SimpleServiceImpl extends SimpleServiceGrpc.SimpleServiceImplBase { |
| 414 | @Override |
no test coverage detected