public class HttpClientFactory
extends org.springframework.beans.factory.config.AbstractFactoryBean<reactor.netty.http.client.HttpClient>
| 构造器和说明 |
|---|
HttpClientFactory(org.apache.shenyu.plugin.httpclient.config.HttpClientProperties httpClientProperties,
reactor.netty.resources.LoopResources loopResources,
org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
buildElasticConnectionPool(reactor.netty.resources.ConnectionProvider.Builder builder)
build elastic connection provider pool.
|
void |
buildFixedConnectionPool(org.apache.shenyu.plugin.httpclient.config.HttpClientProperties.Pool pool,
reactor.netty.resources.ConnectionProvider.Builder builder)
build fixed connection pool.
|
protected reactor.netty.http.client.HttpClient |
createInstance() |
java.lang.Class<?> |
getObjectType() |
public HttpClientFactory(org.apache.shenyu.plugin.httpclient.config.HttpClientProperties httpClientProperties,
reactor.netty.resources.LoopResources loopResources,
org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
public java.lang.Class<?> getObjectType()
getObjectType 在接口中 org.springframework.beans.factory.FactoryBean<reactor.netty.http.client.HttpClient>getObjectType 在类中 org.springframework.beans.factory.config.AbstractFactoryBean<reactor.netty.http.client.HttpClient>protected reactor.netty.http.client.HttpClient createInstance()
createInstance 在类中 org.springframework.beans.factory.config.AbstractFactoryBean<reactor.netty.http.client.HttpClient>public void buildFixedConnectionPool(org.apache.shenyu.plugin.httpclient.config.HttpClientProperties.Pool pool,
reactor.netty.resources.ConnectionProvider.Builder builder)
pool - connection pool paramsbuilder - connection provider builderpublic void buildElasticConnectionPool(reactor.netty.resources.ConnectionProvider.Builder builder)
builder - connection provider builderCopyright © 2026 The Apache Software Foundation. All rights reserved.