Revise names of callbacks in HttpServiceGroupConfigurer

Closes gh-34926
This commit is contained in:
rstoyanchev
2025-05-28 14:52:39 +01:00
parent ec49435a4d
commit 22c672a469
3 changed files with 36 additions and 28 deletions

View File

@@ -26,6 +26,7 @@ import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.web.client.RestClient;
import org.springframework.web.client.support.RestClientHttpServiceGroupConfigurer;
import org.springframework.web.service.invoker.HttpServiceProxyFactory;
import org.springframework.web.service.registry.echo.EchoA;
import org.springframework.web.service.registry.echo.EchoB;
import org.springframework.web.service.registry.greeting.GreetingA;
@@ -96,4 +97,12 @@ public class HttpServiceProxyRegistryFactoryBeanTests {
}
}
static class MyC implements HttpServiceGroupConfigurer.GroupCallback<RestClient> {
@Override
public void withGroup(HttpServiceGroup group, RestClient clientBuilder, HttpServiceProxyFactory.Builder factoryBuilder) {
}
}
}