You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update `GroupRegistry` with an alternative `forGroup` method that uses
provider functions for the group name and client type.
This update allows more advanced group registration, for example where
the group name is provided is obtained from an annotation of the HTTP
Service type. It also allows registration to be skipped by returning
`null` as the group name.
Copy file name to clipboardExpand all lines: spring-web/src/test/java/org/springframework/web/service/registry/AnnotationHttpServiceRegistrarTests.java
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@
22
22
importjava.util.Map;
23
23
importjava.util.Set;
24
24
importjava.util.function.BiConsumer;
25
+
importjava.util.function.Function;
25
26
26
27
importorg.junit.jupiter.api.Test;
27
28
@@ -179,13 +180,14 @@ public Map<String, StubGroup> groupMap() {
0 commit comments