Package io.grpc.netty
Class NettySslContextChannelCredentials
- java.lang.Object
-
- io.grpc.netty.NettySslContextChannelCredentials
-
@ExperimentalApi("There is no plan to make this API stable, given transport API instability") public final class NettySslContextChannelCredentials extends Object
A credential that performs TLS with Netty's SslContext as configuration.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChannelCredentials
create(SslContext sslContext)
Create a credential using Netty's SslContext as configuration.
-
-
-
Method Detail
-
create
public static ChannelCredentials create(SslContext sslContext)
Create a credential using Netty's SslContext as configuration. It must have been configured withGrpcSslContexts
, but options could have been overridden.
-
-