Package io.grpc.xds

Class XdsServerCredentials

java.lang.Object
io.grpc.xds.XdsServerCredentials

@ExperimentalApi("https://github.com/grpc/grpc-java/issues/7514") public class XdsServerCredentials extends Object
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.grpc.ServerCredentials
    create(io.grpc.ServerCredentials fallback)
    Creates credentials to be configured by xDS, falling back to other credentials if no TLS configuration is provided by xDS.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XdsServerCredentials

      private XdsServerCredentials()
  • Method Details

    • create

      public static io.grpc.ServerCredentials create(io.grpc.ServerCredentials fallback)
      Creates credentials to be configured by xDS, falling back to other credentials if no TLS configuration is provided by xDS.
      Parameters:
      fallback - Credentials to fall back to.
      Throws:
      IllegalArgumentException - if fallback is unable to be used