Skip to content

Commit 955112b

Browse files
committed
Polish ReactorClientHttpConnector Javadoc
1 parent 363d5a6 commit 955112b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
/**
3939
* Reactor-Netty implementation of {@link ClientHttpConnector}.
4040
*
41-
* <p>This class implements {@link Lifecycle} and can be optionally declared
41+
* <p>This class implements {@link SmartLifecycle} and can be optionally declared
4242
* as a Spring-managed bean.
4343
*
4444
* @author Brian Clozel
@@ -90,7 +90,9 @@ public ReactorClientHttpConnector() {
9090
* fixed, shared resources are favored for event loop concurrency. However,
9191
* consider declaring a {@link ReactorResourceFactory} bean with
9292
* {@code globalResources=true} in order to ensure the Reactor Netty global
93-
* resources are shut down when the Spring ApplicationContext is closed.
93+
* resources are shut down when the Spring ApplicationContext is stopped or closed
94+
* and restarted properly when the Spring ApplicationContext is
95+
* (with JVM Checkpoint Restore for example).
9496
* @param resourceFactory the resource factory to obtain the resources from
9597
* @param mapper a mapper for further initialization of the created client
9698
* @since 5.1

0 commit comments

Comments
 (0)