类 JettyClientHttpConnectorBuilder
java.lang.Object
org.springframework.boot.http.client.reactive.JettyClientHttpConnectorBuilder
Builder for
ClientHttpConnectorBuilder.jetty()
.- 从以下版本开始:
- 3.5.0
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明protected final HttpClientSettings
final JettyClientHttpConnector
build
(ClientHttpConnectorSettings settings) Build a fully configuredClientHttpConnector
, applying the givensettings
if they are provided.protected JettyClientHttpConnector
protected final List
<Consumer<JettyClientHttpConnector>> protected final List
<Consumer<JettyClientHttpConnector>> mergedCustomizers
(Collection<Consumer<JettyClientHttpConnector>> customizers) protected final List
<Consumer<JettyClientHttpConnector>> mergedCustomizers
(Consumer<JettyClientHttpConnector> customizer) withClientConnectorCustomizerCustomizer
(Consumer<org.eclipse.jetty.io.ClientConnector> clientConnectorCustomizerCustomizer) Return a newJettyClientHttpConnectorBuilder
that applies additional customization to the underlyingClientConnector
.withCustomizer
(Consumer<JettyClientHttpConnector> customizer) Return a newClientHttpConnectorBuilder
that applies the given customizer to theClientHttpConnector
after it has been built.withCustomizers
(Collection<Consumer<JettyClientHttpConnector>> customizers) Return a newClientHttpConnectorBuilder
that applies the given customizers to theClientHttpConnector
after it has been built.withHttpClientCustomizer
(Consumer<org.eclipse.jetty.client.HttpClient> httpClientCustomizer) Return a newJettyClientHttpConnectorBuilder
that applies additional customization to the underlyingHttpClient
.withHttpClientTransportCustomizer
(Consumer<org.eclipse.jetty.client.HttpClientTransport> httpClientTransportCustomizer) Return a newJettyClientHttpConnectorBuilder
that applies additional customization to the underlyingHttpClientTransport
.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.http.client.reactive.ClientHttpConnectorBuilder
build
-
方法详细资料
-
withCustomizer
public JettyClientHttpConnectorBuilder withCustomizer(Consumer<JettyClientHttpConnector> customizer) 从接口复制的说明:ClientHttpConnectorBuilder
Return a newClientHttpConnectorBuilder
that applies the given customizer to theClientHttpConnector
after it has been built.- 参数:
customizer
- the customizers to apply- 返回:
- a new
ClientHttpConnectorBuilder
instance
-
withCustomizers
public JettyClientHttpConnectorBuilder withCustomizers(Collection<Consumer<JettyClientHttpConnector>> customizers) 从接口复制的说明:ClientHttpConnectorBuilder
Return a newClientHttpConnectorBuilder
that applies the given customizers to theClientHttpConnector
after it has been built.- 参数:
customizers
- the customizers to apply- 返回:
- a new
ClientHttpConnectorBuilder
instance
-
withHttpClientCustomizer
public JettyClientHttpConnectorBuilder withHttpClientCustomizer(Consumer<org.eclipse.jetty.client.HttpClient> httpClientCustomizer) Return a newJettyClientHttpConnectorBuilder
that applies additional customization to the underlyingHttpClient
.- 参数:
httpClientCustomizer
- the customizer to apply- 返回:
- a new
JettyClientHttpConnectorBuilder
instance
-
withHttpClientTransportCustomizer
public JettyClientHttpConnectorBuilder withHttpClientTransportCustomizer(Consumer<org.eclipse.jetty.client.HttpClientTransport> httpClientTransportCustomizer) Return a newJettyClientHttpConnectorBuilder
that applies additional customization to the underlyingHttpClientTransport
.- 参数:
httpClientTransportCustomizer
- the customizer to apply- 返回:
- a new
JettyClientHttpConnectorBuilder
instance
-
withClientConnectorCustomizerCustomizer
public JettyClientHttpConnectorBuilder withClientConnectorCustomizerCustomizer(Consumer<org.eclipse.jetty.io.ClientConnector> clientConnectorCustomizerCustomizer) Return a newJettyClientHttpConnectorBuilder
that applies additional customization to the underlyingClientConnector
.- 参数:
clientConnectorCustomizerCustomizer
- the customizer to apply- 返回:
- a new
JettyClientHttpConnectorBuilder
instance
-
createClientHttpConnector
-
getCustomizers
-
mergedCustomizers
protected final List<Consumer<JettyClientHttpConnector>> mergedCustomizers(Consumer<JettyClientHttpConnector> customizer) -
mergedCustomizers
protected final List<Consumer<JettyClientHttpConnector>> mergedCustomizers(Collection<Consumer<JettyClientHttpConnector>> customizers) -
build
从接口复制的说明:ClientHttpConnectorBuilder
Build a fully configuredClientHttpConnector
, applying the givensettings
if they are provided.- 指定者:
build
在接口中ClientHttpConnectorBuilder<T extends ClientHttpConnector>
- 参数:
settings
- the settings to apply ornull
- 返回:
- a fully configured
ClientHttpConnector
.
-
asHttpClientSettings
-