Top Description Constructors Methods
org.springframework.http.client.reactive

public Class ReactorResourceFactory

extends ReactorResourceFactory
Class Inheritance
Annotations
@Deprecated
since:6.1
Imports
reactor.netty.resources.ConnectionProvider, .LoopResources, org.springframework.beans.factory.DisposableBean, .InitializingBean, org.springframework.context.Lifecycle

Deprecated

since 6.1.

since 6.1 due to a package change; use org.springframework.http.client.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.

Authors
Rossen Stoyanchev, Brian Clozel, Sebastien Deleuze
Since
5.1

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.springframework.http.client.ReactorResourceFactory:
addGlobalResourcesConsumerafterPropertiesSetdestroygetConnectionProvidergetLoopResourcesisRunningisUseGlobalResourcessetConnectionProvidersetConnectionProviderSuppliersetLoopResourcessetLoopResourcesSuppliersetShutdownQuietPeriodsetShutdownTimeoutsetUseGlobalResourcesstartstop

Constructor Detail

ReactorResourceFactoryback to summary
public ReactorResourceFactory()