File tree 1 file changed +11
-1
lines changed
spring-web/src/main/java/org/springframework/web/service/registry
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 20
20
import java .util .function .Consumer ;
21
21
import java .util .function .Predicate ;
22
22
23
+ import org .springframework .core .Ordered ;
23
24
import org .springframework .web .service .invoker .HttpServiceProxyFactory ;
24
25
25
26
/**
31
32
* @param <CB> the type of client builder, i.e. {@code RestClient} or {@code WebClient} builder.
32
33
*/
33
34
@ FunctionalInterface
34
- public interface HttpServiceGroupConfigurer <CB > {
35
+ public interface HttpServiceGroupConfigurer <CB > extends Ordered {
35
36
36
37
/**
37
38
* Configure the underlying infrastructure for all group.
38
39
*/
39
40
void configureGroups (Groups <CB > groups );
40
41
42
+ /**
43
+ * Determine the order of this configurer relative to others.
44
+ * <p>By default, this is {@link Ordered#LOWEST_PRECEDENCE}.
45
+ */
46
+ @ Override
47
+ default int getOrder () {
48
+ return Ordered .LOWEST_PRECEDENCE ;
49
+ }
50
+
41
51
42
52
/**
43
53
* Contract to help iterate and configure the set of groups.
You can’t perform that action at this time.
0 commit comments