Package io.grpc.xds.client
Class Bootstrapper
- java.lang.Object
-
- io.grpc.xds.client.Bootstrapper
-
- Direct Known Subclasses:
BootstrapperImpl
@Internal public abstract class Bootstrapper extends java.lang.ObjectLoads configuration information to bootstrap gRPC's integration of xDS protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBootstrapper.AuthorityInfostatic classBootstrapper.BootstrapInfoData class containing the results of reading bootstrap.static classBootstrapper.CertificateProviderInfoData class containing Certificate provider information: the plugin-name and an opaque Map that represents the config for that plugin.static classBootstrapper.ServerInfoData class containing xDS server information, such as server URI and channel credentials to be used for communication.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringXDSTP_SCHEME
-
Constructor Summary
Constructors Constructor Description Bootstrapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Bootstrapper.BootstrapInfobootstrap()Returns system-loaded bootstrap configuration.Bootstrapper.BootstrapInfobootstrap(java.util.Map<java.lang.String,?> rawData)Returns bootstrap configuration given by the raw data in JSON format.
-
-
-
Field Detail
-
XDSTP_SCHEME
public static final java.lang.String XDSTP_SCHEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
bootstrap
public abstract Bootstrapper.BootstrapInfo bootstrap() throws XdsInitializationException
Returns system-loaded bootstrap configuration.- Throws:
XdsInitializationException
-
bootstrap
public Bootstrapper.BootstrapInfo bootstrap(java.util.Map<java.lang.String,?> rawData) throws XdsInitializationException
Returns bootstrap configuration given by the raw data in JSON format.- Throws:
XdsInitializationException
-
-