File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
spring-web/src/main/java/org/springframework/web/service/registry Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 2020import java .util .function .Consumer ;
2121import java .util .function .Predicate ;
2222
23+ import org .springframework .core .Ordered ;
2324import org .springframework .web .service .invoker .HttpServiceProxyFactory ;
2425
2526/**
3132 * @param <CB> the type of client builder, i.e. {@code RestClient} or {@code WebClient} builder.
3233 */
3334@ FunctionalInterface
34- public interface HttpServiceGroupConfigurer <CB > {
35+ public interface HttpServiceGroupConfigurer <CB > extends Ordered {
3536
3637 /**
3738 * Configure the underlying infrastructure for all group.
3839 */
3940 void configureGroups (Groups <CB > groups );
4041
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+
4151
4252 /**
4353 * Contract to help iterate and configure the set of groups.
You can’t perform that action at this time.
0 commit comments