Browse Source

Polish ReactorClientHttpConnector Javadoc

pull/31413/head
Sébastien Deleuze 2 years ago
parent
commit
955112be0e
  1. 6
      spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java

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

@ -38,7 +38,7 @@ import org.springframework.util.Assert; @@ -38,7 +38,7 @@ import org.springframework.util.Assert;
/**
* Reactor-Netty implementation of {@link ClientHttpConnector}.
*
* <p>This class implements {@link Lifecycle} and can be optionally declared
* <p>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 @@ -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

Loading…
Cancel
Save