Package io.grpc.xds

Class XdsServerCredentials


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

      • create

        public static ServerCredentials create​(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