Class ReactorResourceFactory

java.lang.Object
org.springframework.http.client.ReactorResourceFactory
org.springframework.http.client.reactive.ReactorResourceFactory
All Implemented Interfaces:
DisposableBean, InitializingBean, Lifecycle

@Deprecated(since="6.1") public class ReactorResourceFactory extends ReactorResourceFactory
Deprecated.
since 6.1 due to a package change; use ReactorResourceFactory instead.
Factory to manage Reactor Netty resources, i.e. LoopResources for event loop threads, and ConnectionProvider for the connection pool, within the lifecycle of a Spring ApplicationContext.

This factory implements InitializingBean, DisposableBean and Lifecycle and is expected typically to be declared as a Spring-managed bean.

Notice that after a Lifecycle stop/restart, new instances of the configured LoopResources and ConnectionProvider are created, so any references to those should be updated.

Since:
5.1
Author:
Rossen Stoyanchev, Brian Clozel, Sebastien Deleuze
  • Constructor Details

    • ReactorResourceFactory

      public ReactorResourceFactory()
      Deprecated.