Class GrpcClients
java.lang.Object
com.codename1.io.grpc.GrpcClients
Runtime registry that wires @GrpcClient-annotated interfaces
to the build-time-generated implementations. The generated
cn1app.GrpcClientBootstrap calls register(Class, Factory)
for every gRPC interface in the project; user code reaches them
via the static of(String baseUrl) factory that
cn1:generate-grpc puts on each interface, and that factory in
turn calls create(Class, String) here.
Mirrors RestClients.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFactory the generated bootstrap registers per API interface. -
Method Summary
-
Method Details
-
register
Registers a factory for a@GrpcClient-annotated interface. -
create
-