File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
api/src/main/java/io/grpc Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,15 @@ public T callExecutor(ServerCallExecutorSupplier executorSupplier) {
114114 public abstract T addService (BindableService bindableService );
115115
116116 /**
117- * Adds a list of service implementations to the handler registry together.
117+ * Adds a list of service implementations to the handler registry together. This exists for
118+ * convenience - equivalent to repeatedly calling addService() with different services.
119+ * If multiple services on the list use the same name, only the last one on the list will
120+ * be added.
118121 *
119122 * @param services the list of ServerServiceDefinition objects
120123 * @return this
121124 * @since 1.37.0
122125 */
123- @ ExperimentalApi ("https://github.com/grpc/grpc-java/issues/7925" )
124126 public final T addServices (List <ServerServiceDefinition > services ) {
125127 checkNotNull (services , "services" );
126128 for (ServerServiceDefinition service : services ) {
You can’t perform that action at this time.
0 commit comments