61 changed files with 112 additions and 382 deletions
@ -1,79 +0,0 @@ |
|||||||
/* |
|
||||||
* Copyright 2012-present the original author or authors. |
|
||||||
* |
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
||||||
* you may not use this file except in compliance with the License. |
|
||||||
* You may obtain a copy of the License at |
|
||||||
* |
|
||||||
* https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
* |
|
||||||
* Unless required by applicable law or agreed to in writing, software |
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, |
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
||||||
* See the License for the specific language governing permissions and |
|
||||||
* limitations under the License. |
|
||||||
*/ |
|
||||||
|
|
||||||
package org.springframework.boot.autoconfigure.web.reactive.function.client; |
|
||||||
|
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
import reactor.netty.http.client.HttpClient; |
|
||||||
|
|
||||||
import org.springframework.beans.factory.ObjectProvider; |
|
||||||
import org.springframework.boot.autoconfigure.AutoConfiguration; |
|
||||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; |
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; |
|
||||||
import org.springframework.boot.autoconfigure.http.client.reactive.ClientHttpConnectorBuilderCustomizer; |
|
||||||
import org.springframework.boot.http.client.reactive.ReactorClientHttpConnectorBuilder; |
|
||||||
import org.springframework.boot.reactor.netty.autoconfigure.ReactorNettyConfigurations.ReactorResourceFactoryConfiguration; |
|
||||||
import org.springframework.context.annotation.Bean; |
|
||||||
import org.springframework.context.annotation.Configuration; |
|
||||||
import org.springframework.context.annotation.Import; |
|
||||||
import org.springframework.core.annotation.Order; |
|
||||||
import org.springframework.http.client.ReactorResourceFactory; |
|
||||||
import org.springframework.web.reactive.function.client.WebClient; |
|
||||||
|
|
||||||
/** |
|
||||||
* Deprecated {@link EnableAutoConfiguration Auto-configuration} for |
|
||||||
* {@link ReactorNettyHttpClientMapper}. |
|
||||||
* |
|
||||||
* @author Brian Clozel |
|
||||||
* @author Phillip Webb |
|
||||||
* @since 2.1.0 |
|
||||||
* @deprecated since 3.5.0 for removal in 4.0.0 in favor of |
|
||||||
* {@link org.springframework.boot.autoconfigure.http.client.reactive.ClientHttpConnectorAutoConfiguration} |
|
||||||
* and to align with the deprecation of {@link ReactorNettyHttpClientMapper} |
|
||||||
*/ |
|
||||||
@AutoConfiguration |
|
||||||
@ConditionalOnClass(WebClient.class) |
|
||||||
@Deprecated(since = "3.5.0", forRemoval = true) |
|
||||||
public class ClientHttpConnectorAutoConfiguration { |
|
||||||
|
|
||||||
@Configuration(proxyBeanMethods = false) |
|
||||||
@ConditionalOnClass(HttpClient.class) |
|
||||||
@Import(ReactorResourceFactoryConfiguration.class) |
|
||||||
@SuppressWarnings("removal") |
|
||||||
static class ReactorNetty { |
|
||||||
|
|
||||||
@Bean |
|
||||||
@Order(0) |
|
||||||
ClientHttpConnectorBuilderCustomizer<ReactorClientHttpConnectorBuilder> reactorNettyHttpClientMapperClientHttpConnectorBuilderCustomizer( |
|
||||||
ReactorResourceFactory reactorResourceFactory, |
|
||||||
ObjectProvider<ReactorNettyHttpClientMapper> mapperProvider) { |
|
||||||
return applyMappers(mapperProvider.orderedStream().toList()); |
|
||||||
} |
|
||||||
|
|
||||||
private ClientHttpConnectorBuilderCustomizer<ReactorClientHttpConnectorBuilder> applyMappers( |
|
||||||
List<ReactorNettyHttpClientMapper> mappers) { |
|
||||||
return (builder) -> { |
|
||||||
for (ReactorNettyHttpClientMapper mapper : mappers) { |
|
||||||
builder = builder.withHttpClientCustomizer(mapper::configure); |
|
||||||
} |
|
||||||
return builder; |
|
||||||
}; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
@ -1,77 +0,0 @@ |
|||||||
/* |
|
||||||
* Copyright 2012-present the original author or authors. |
|
||||||
* |
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
||||||
* you may not use this file except in compliance with the License. |
|
||||||
* You may obtain a copy of the License at |
|
||||||
* |
|
||||||
* https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
* |
|
||||||
* Unless required by applicable law or agreed to in writing, software |
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, |
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
||||||
* See the License for the specific language governing permissions and |
|
||||||
* limitations under the License. |
|
||||||
*/ |
|
||||||
|
|
||||||
package org.springframework.boot.autoconfigure.web.reactive.function.client; |
|
||||||
|
|
||||||
import java.util.Collection; |
|
||||||
|
|
||||||
import reactor.netty.http.client.HttpClient; |
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.http.client.reactive.ClientHttpConnectorBuilderCustomizer; |
|
||||||
import org.springframework.boot.http.client.reactive.ClientHttpConnectorBuilder; |
|
||||||
import org.springframework.http.client.reactive.ReactorClientHttpConnector; |
|
||||||
import org.springframework.util.Assert; |
|
||||||
|
|
||||||
/** |
|
||||||
* Mapper that allows for custom modification of a {@link HttpClient} before it is used as |
|
||||||
* the basis for a {@link ReactorClientHttpConnector}. |
|
||||||
* |
|
||||||
* @author Brian Clozel |
|
||||||
* @author Phillip Webb |
|
||||||
* @since 2.3.0 |
|
||||||
* @deprecated since 3.5.0 for removal in 4.0.0 in favor of |
|
||||||
* {@link ClientHttpConnectorBuilderCustomizer} or declaring a pre-configured |
|
||||||
* {@link ClientHttpConnectorBuilder} bean |
|
||||||
*/ |
|
||||||
@FunctionalInterface |
|
||||||
@Deprecated(since = "3.5.0", forRemoval = true) |
|
||||||
public interface ReactorNettyHttpClientMapper { |
|
||||||
|
|
||||||
/** |
|
||||||
* Configure the given {@link HttpClient} and return the newly created instance. |
|
||||||
* @param httpClient the client to configure |
|
||||||
* @return the new client instance |
|
||||||
*/ |
|
||||||
HttpClient configure(HttpClient httpClient); |
|
||||||
|
|
||||||
/** |
|
||||||
* Return a new {@link ReactorNettyHttpClientMapper} composed of the given mappers. |
|
||||||
* @param mappers the mappers to compose |
|
||||||
* @return a composed {@link ReactorNettyHttpClientMapper} instance |
|
||||||
* @since 3.1.1 |
|
||||||
*/ |
|
||||||
static ReactorNettyHttpClientMapper of(Collection<ReactorNettyHttpClientMapper> mappers) { |
|
||||||
Assert.notNull(mappers, "'mappers' must not be null"); |
|
||||||
return of(mappers.toArray(ReactorNettyHttpClientMapper[]::new)); |
|
||||||
} |
|
||||||
|
|
||||||
/** |
|
||||||
* Return a new {@link ReactorNettyHttpClientMapper} composed of the given mappers. |
|
||||||
* @param mappers the mappers to compose |
|
||||||
* @return a composed {@link ReactorNettyHttpClientMapper} instance |
|
||||||
* @since 3.1.1 |
|
||||||
*/ |
|
||||||
static ReactorNettyHttpClientMapper of(ReactorNettyHttpClientMapper... mappers) { |
|
||||||
Assert.notNull(mappers, "'mappers' must not be null"); |
|
||||||
return (httpClient) -> { |
|
||||||
for (ReactorNettyHttpClientMapper mapper : mappers) { |
|
||||||
httpClient = mapper.configure(httpClient); |
|
||||||
} |
|
||||||
return httpClient; |
|
||||||
}; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
@ -1,6 +1,2 @@ |
|||||||
org.springframework.boot.autoconfigure.http.client.reactive.ClientHttpConnectorAutoConfiguration |
|
||||||
org.springframework.boot.autoconfigure.http.client.reactive.service.ReactiveHttpServiceClientAutoConfiguration |
|
||||||
org.springframework.boot.autoconfigure.web.reactive.function.client.ClientHttpConnectorAutoConfiguration |
|
||||||
org.springframework.boot.autoconfigure.web.reactive.function.client.WebClientAutoConfiguration |
|
||||||
org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration |
org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration |
||||||
org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration |
org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration |
||||||
|
|||||||
@ -1,62 +0,0 @@ |
|||||||
/* |
|
||||||
* Copyright 2012-present the original author or authors. |
|
||||||
* |
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
||||||
* you may not use this file except in compliance with the License. |
|
||||||
* You may obtain a copy of the License at |
|
||||||
* |
|
||||||
* https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
* |
|
||||||
* Unless required by applicable law or agreed to in writing, software |
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, |
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
||||||
* See the License for the specific language governing permissions and |
|
||||||
* limitations under the License. |
|
||||||
*/ |
|
||||||
|
|
||||||
package org.springframework.boot.autoconfigure.web.reactive.function.client; |
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test; |
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.AutoConfigurations; |
|
||||||
import org.springframework.boot.test.context.runner.ReactiveWebApplicationContextRunner; |
|
||||||
import org.springframework.context.annotation.Bean; |
|
||||||
import org.springframework.http.client.reactive.ClientHttpConnector; |
|
||||||
|
|
||||||
import static org.assertj.core.api.Assertions.assertThat; |
|
||||||
|
|
||||||
/** |
|
||||||
* Tests for {@link ClientHttpConnectorAutoConfiguration} |
|
||||||
* |
|
||||||
* @author Brian Clozel |
|
||||||
*/ |
|
||||||
@SuppressWarnings("removal") |
|
||||||
class ClientHttpConnectorAutoConfigurationTests { |
|
||||||
|
|
||||||
@Test |
|
||||||
void shouldApplyReactorNettyHttpClientMapper() { |
|
||||||
new ReactiveWebApplicationContextRunner().withConfiguration(AutoConfigurations.of( |
|
||||||
ClientHttpConnectorAutoConfiguration.class, |
|
||||||
org.springframework.boot.autoconfigure.http.client.reactive.ClientHttpConnectorAutoConfiguration.class)) |
|
||||||
.withUserConfiguration(CustomReactorNettyHttpClientMapper.class) |
|
||||||
.run((context) -> { |
|
||||||
context.getBean(ClientHttpConnector.class); |
|
||||||
assertThat(CustomReactorNettyHttpClientMapper.called).isTrue(); |
|
||||||
}); |
|
||||||
} |
|
||||||
|
|
||||||
static class CustomReactorNettyHttpClientMapper { |
|
||||||
|
|
||||||
static boolean called = false; |
|
||||||
|
|
||||||
@Bean |
|
||||||
ReactorNettyHttpClientMapper clientMapper() { |
|
||||||
return (client) -> { |
|
||||||
called = true; |
|
||||||
return client.baseUrl("/test"); |
|
||||||
}; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
@ -1,100 +0,0 @@ |
|||||||
/* |
|
||||||
* Copyright 2012-present the original author or authors. |
|
||||||
* |
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
||||||
* you may not use this file except in compliance with the License. |
|
||||||
* You may obtain a copy of the License at |
|
||||||
* |
|
||||||
* https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
* |
|
||||||
* Unless required by applicable law or agreed to in writing, software |
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS, |
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
||||||
* See the License for the specific language governing permissions and |
|
||||||
* limitations under the License. |
|
||||||
*/ |
|
||||||
|
|
||||||
package org.springframework.boot.autoconfigure.web.reactive.function.client; |
|
||||||
|
|
||||||
import java.util.Collection; |
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test; |
|
||||||
import reactor.netty.http.client.HttpClient; |
|
||||||
import reactor.netty.http.client.HttpClientConfig; |
|
||||||
|
|
||||||
import static org.assertj.core.api.Assertions.assertThat; |
|
||||||
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; |
|
||||||
|
|
||||||
/** |
|
||||||
* Tests for {@link ReactorNettyHttpClientMapper}. |
|
||||||
* |
|
||||||
* @author Phillip Webb |
|
||||||
*/ |
|
||||||
@SuppressWarnings("removal") |
|
||||||
class ReactorNettyHttpClientMapperTests { |
|
||||||
|
|
||||||
@Test |
|
||||||
void ofWithCollectionCreatesComposite() { |
|
||||||
ReactorNettyHttpClientMapper one = (httpClient) -> new TestHttpClient(httpClient, "1"); |
|
||||||
ReactorNettyHttpClientMapper two = (httpClient) -> new TestHttpClient(httpClient, "2"); |
|
||||||
ReactorNettyHttpClientMapper three = (httpClient) -> new TestHttpClient(httpClient, "3"); |
|
||||||
ReactorNettyHttpClientMapper compose = ReactorNettyHttpClientMapper.of(List.of(one, two, three)); |
|
||||||
TestHttpClient httpClient = (TestHttpClient) compose.configure(new TestHttpClient()); |
|
||||||
assertThat(httpClient.getContent()).isEqualTo("123"); |
|
||||||
} |
|
||||||
|
|
||||||
@Test |
|
||||||
void ofWhenCollectionIsNullThrowsException() { |
|
||||||
Collection<ReactorNettyHttpClientMapper> mappers = null; |
|
||||||
assertThatIllegalArgumentException().isThrownBy(() -> ReactorNettyHttpClientMapper.of(mappers)) |
|
||||||
.withMessage("'mappers' must not be null"); |
|
||||||
} |
|
||||||
|
|
||||||
@Test |
|
||||||
void ofWithArrayCreatesComposite() { |
|
||||||
ReactorNettyHttpClientMapper one = (httpClient) -> new TestHttpClient(httpClient, "1"); |
|
||||||
ReactorNettyHttpClientMapper two = (httpClient) -> new TestHttpClient(httpClient, "2"); |
|
||||||
ReactorNettyHttpClientMapper three = (httpClient) -> new TestHttpClient(httpClient, "3"); |
|
||||||
ReactorNettyHttpClientMapper compose = ReactorNettyHttpClientMapper.of(one, two, three); |
|
||||||
TestHttpClient httpClient = (TestHttpClient) compose.configure(new TestHttpClient()); |
|
||||||
assertThat(httpClient.getContent()).isEqualTo("123"); |
|
||||||
} |
|
||||||
|
|
||||||
@Test |
|
||||||
void ofWhenArrayIsNullThrowsException() { |
|
||||||
ReactorNettyHttpClientMapper[] mappers = null; |
|
||||||
assertThatIllegalArgumentException().isThrownBy(() -> ReactorNettyHttpClientMapper.of(mappers)) |
|
||||||
.withMessage("'mappers' must not be null"); |
|
||||||
} |
|
||||||
|
|
||||||
private static class TestHttpClient extends HttpClient { |
|
||||||
|
|
||||||
private final String content; |
|
||||||
|
|
||||||
TestHttpClient() { |
|
||||||
this.content = ""; |
|
||||||
} |
|
||||||
|
|
||||||
TestHttpClient(HttpClient httpClient, String content) { |
|
||||||
this.content = (httpClient instanceof TestHttpClient testHttpClient) ? testHttpClient.content + content |
|
||||||
: content; |
|
||||||
} |
|
||||||
|
|
||||||
@Override |
|
||||||
public HttpClientConfig configuration() { |
|
||||||
throw new UnsupportedOperationException("Auto-generated method stub"); |
|
||||||
} |
|
||||||
|
|
||||||
@Override |
|
||||||
protected HttpClient duplicate() { |
|
||||||
throw new UnsupportedOperationException("Auto-generated method stub"); |
|
||||||
} |
|
||||||
|
|
||||||
String getContent() { |
|
||||||
return this.content; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
@ -0,0 +1,46 @@ |
|||||||
|
/* |
||||||
|
* Copyright 2012-present the original author or authors. |
||||||
|
* |
||||||
|
* Licensed under the Apache License, Version 2.0 (the License); |
||||||
|
* you may not use this file except in compliance with the License. |
||||||
|
* You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* https://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
|
||||||
|
|
||||||
|
plugins { |
||||||
|
id "java-library" |
||||||
|
id "org.springframework.boot.auto-configuration" |
||||||
|
id "org.springframework.boot.configuration-properties" |
||||||
|
id "org.springframework.boot.deployed" |
||||||
|
id "org.springframework.boot.optional-dependencies" |
||||||
|
} |
||||||
|
|
||||||
|
description = "Spring Boot Reactive HTTP Client" |
||||||
|
|
||||||
|
dependencies { |
||||||
|
api(project(":spring-boot-project:spring-boot")) |
||||||
|
api("org.springframework:spring-web") |
||||||
|
|
||||||
|
implementation(project(":spring-boot-project:spring-boot-http-codec")) |
||||||
|
|
||||||
|
optional(project(":spring-boot-project:spring-boot-autoconfigure")) |
||||||
|
optional(project(":spring-boot-project:spring-boot-reactor-netty")) |
||||||
|
optional("org.apache.httpcomponents.client5:httpclient5") |
||||||
|
optional("org.apache.httpcomponents.core5:httpcore5-reactive") |
||||||
|
optional("org.eclipse.jetty:jetty-reactive-httpclient") |
||||||
|
optional("org.springframework:spring-webflux") |
||||||
|
|
||||||
|
testImplementation(project(":spring-boot-project:spring-boot-test")) |
||||||
|
testImplementation(project(":spring-boot-project:spring-boot-tomcat")) |
||||||
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")) |
||||||
|
|
||||||
|
testRuntimeOnly("ch.qos.logback:logback-classic") |
||||||
|
} |
||||||
0
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilder.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilder.java
0
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilder.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilder.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/AbstractClientHttpConnectorProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/AbstractClientHttpConnectorProperties.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/AbstractClientHttpConnectorProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/AbstractClientHttpConnectorProperties.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorAutoConfiguration.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorAutoConfiguration.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorAutoConfiguration.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorAutoConfiguration.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorBuilderCustomizer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorBuilderCustomizer.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorBuilderCustomizer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorBuilderCustomizer.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectors.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectors.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectors.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectors.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ConditionalOnClientHttpConnectorBuilderDetection.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ConditionalOnClientHttpConnectorBuilderDetection.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/ConditionalOnClientHttpConnectorBuilderDetection.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/ConditionalOnClientHttpConnectorBuilderDetection.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/HttpReactiveClientProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/HttpReactiveClientProperties.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/HttpReactiveClientProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/autoconfigure/HttpReactiveClientProperties.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/AbstractHttpReactiveClientServiceProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/AbstractHttpReactiveClientServiceProperties.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/AbstractHttpReactiveClientServiceProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/AbstractHttpReactiveClientServiceProperties.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpClientServiceProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpClientServiceProperties.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpClientServiceProperties.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpClientServiceProperties.java
8
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpServiceClientAutoConfiguration.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpServiceClientAutoConfiguration.java
8
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpServiceClientAutoConfiguration.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpServiceClientAutoConfiguration.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/WebClientCustomizerHttpServiceGroupConfigurer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/WebClientCustomizerHttpServiceGroupConfigurer.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/WebClientCustomizerHttpServiceGroupConfigurer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/WebClientCustomizerHttpServiceGroupConfigurer.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/WebClientPropertiesHttpServiceGroupConfigurer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/WebClientPropertiesHttpServiceGroupConfigurer.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/WebClientPropertiesHttpServiceGroupConfigurer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/WebClientPropertiesHttpServiceGroupConfigurer.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/package-info.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/package-info.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/http/client/reactive/service/package-info.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/service/autoconfigure/package-info.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/AutoConfiguredWebClientSsl.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/AutoConfiguredWebClientSsl.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/AutoConfiguredWebClientSsl.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/AutoConfiguredWebClientSsl.java
8
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientAutoConfiguration.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientAutoConfiguration.java
8
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientAutoConfiguration.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientAutoConfiguration.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientCodecCustomizer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientCodecCustomizer.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientCodecCustomizer.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientCodecCustomizer.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientSsl.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientSsl.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientSsl.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientSsl.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/package-info.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/package-info.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/package-info.java → spring-boot-project/spring-boot-http-client-reactive/src/main/java/org/springframework/boot/http/client/reactive/web/autoconfigure/package-info.java
@ -0,0 +1,3 @@ |
|||||||
|
org.springframework.boot.http.client.reactive.autoconfigure.ClientHttpConnectorAutoConfiguration |
||||||
|
org.springframework.boot.http.client.reactive.service.autoconfigure.ReactiveHttpServiceClientAutoConfiguration |
||||||
|
org.springframework.boot.http.client.reactive.web.autoconfigure.WebClientAutoConfiguration |
||||||
2
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/AbstractClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/AbstractClientHttpConnectorBuilderTests.java
2
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/AbstractClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/AbstractClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/HttpComponentsClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/JdkClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/JdkClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/JdkClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/JdkClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/JettyClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/JettyClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/JettyClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/JettyClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/ReactorClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/ReactorClientHttpConnectorBuilderTests.java
0
spring-boot-project/spring-boot-integration-tests/src/test/java/org/springframework/boot/http/client/reactive/ReactorClientHttpConnectorBuilderTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/ReactorClientHttpConnectorBuilderTests.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorAutoConfigurationTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorAutoConfigurationTests.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorAutoConfigurationTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorAutoConfigurationTests.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorsTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorsTests.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/ClientHttpConnectorsTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/autoconfigure/ClientHttpConnectorsTests.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/HttpReactiveClientSettingsPropertiesTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/autoconfigure/HttpReactiveClientSettingsPropertiesTests.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/HttpReactiveClientSettingsPropertiesTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/autoconfigure/HttpReactiveClientSettingsPropertiesTests.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpClientServicePropertiesTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpClientServicePropertiesTests.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpClientServicePropertiesTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpClientServicePropertiesTests.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpServiceClientAutoConfigurationTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpServiceClientAutoConfigurationTests.java
6
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/http/client/reactive/service/ReactiveHttpServiceClientAutoConfigurationTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/service/autoconfigure/ReactiveHttpServiceClientAutoConfigurationTests.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientAutoConfigurationTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientAutoConfigurationTests.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientAutoConfigurationTests.java → spring-boot-project/spring-boot-http-client-reactive/src/test/java/org/springframework/boot/http/client/reactive/web/autoconfigure/WebClientAutoConfigurationTests.java
@ -1,7 +1,7 @@ |
|||||||
# AutoConfigureWebClient auto-configuration imports |
# AutoConfigureWebClient auto-configuration imports |
||||||
optional:org.springframework.boot.http.converter.autoconfigure.HttpMessageConvertersAutoConfiguration |
optional:org.springframework.boot.http.client.reactive.web.WebClientAutoConfiguration |
||||||
optional:org.springframework.boot.http.client.rest.autoconfigure.RestClientAutoConfiguration |
optional:org.springframework.boot.http.client.rest.autoconfigure.RestClientAutoConfiguration |
||||||
optional:org.springframework.boot.http.client.rest.autoconfigure.RestTemplateAutoConfiguration |
optional:org.springframework.boot.http.client.rest.autoconfigure.RestTemplateAutoConfiguration |
||||||
optional:org.springframework.boot.http.codec.autoconfigure.CodecsAutoConfiguration |
optional:org.springframework.boot.http.codec.autoconfigure.CodecsAutoConfiguration |
||||||
org.springframework.boot.autoconfigure.web.reactive.function.client.WebClientAutoConfiguration |
optional:org.springframework.boot.http.converter.autoconfigure.HttpMessageConvertersAutoConfiguration |
||||||
org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration |
org.springframework.boot.test.autoconfigure.web.client.WebClientRestTemplateAutoConfiguration |
||||||
|
|||||||
Loading…
Reference in new issue