Package io.grpc.netty

Class NettySslContextServerCredentials


  • @ExperimentalApi("There is no plan to make this API stable, given transport API instability")
    public final class NettySslContextServerCredentials
    extends java.lang.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 ServerCredentials create​(io.netty.handler.ssl.SslContext sslContext)
      Create a credential using Netty's SslContext as configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static ServerCredentials create​(io.netty.handler.ssl.SslContext sslContext)
        Create a credential using Netty's SslContext as configuration. It must have been configured with GrpcSslContexts, but options could have been overridden.