Revise names of callbacks in HttpServiceGroupConfigurer
Closes gh-34926
This commit is contained in:
@@ -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) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user