From 955112be0ed3e14b8400f7cf2733bf5d03c45dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Tue, 10 Oct 2023 12:50:26 +0200 Subject: [PATCH] Polish ReactorClientHttpConnector Javadoc --- .../http/client/reactive/ReactorClientHttpConnector.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java index 4d470e88cab..0e54a4a541d 100644 --- a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java +++ b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java @@ -38,7 +38,7 @@ import org.springframework.util.Assert; /** * Reactor-Netty implementation of {@link ClientHttpConnector}. * - *

This class implements {@link Lifecycle} and can be optionally declared + *

This class implements {@link SmartLifecycle} and can be optionally declared * as a Spring-managed bean. * * @author Brian Clozel @@ -90,7 +90,9 @@ public class ReactorClientHttpConnector implements ClientHttpConnector, SmartLif * fixed, shared resources are favored for event loop concurrency. However, * consider declaring a {@link ReactorResourceFactory} bean with * {@code globalResources=true} in order to ensure the Reactor Netty global - * resources are shut down when the Spring ApplicationContext is closed. + * resources are shut down when the Spring ApplicationContext is stopped or closed + * and restarted properly when the Spring ApplicationContext is + * (with JVM Checkpoint Restore for example). * @param resourceFactory the resource factory to obtain the resources from * @param mapper a mapper for further initialization of the created client * @since 5.1