@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/7514") public class XdsServerCredentials extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
public static ServerCredentials create(ServerCredentials fallback)
fallback
- Credentials to fall back to.IllegalArgumentException
- if fallback is unable to be used