Package io.grpc.xds

Class XdsChannelCredentials


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ChannelCredentials create​(ChannelCredentials 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
    • Method Detail

      • create

        public static ChannelCredentials create​(ChannelCredentials 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:
        java.lang.IllegalArgumentException - if fallback is unable to be used