|
|
|
|
@ -75,10 +75,10 @@ public final class JettyHttpClientBuilder {
@@ -75,10 +75,10 @@ public final class JettyHttpClientBuilder {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional |
|
|
|
|
* customization to the underlying {@link HttpClient}. |
|
|
|
|
* Return a new {@link JettyHttpClientBuilder} that applies additional customization |
|
|
|
|
* to the underlying {@link HttpClient}. |
|
|
|
|
* @param customizer the customizer to apply |
|
|
|
|
* @return a new {@link JettyClientHttpRequestFactoryBuilder} instance |
|
|
|
|
* @return a new {@link JettyHttpClientBuilder} instance |
|
|
|
|
*/ |
|
|
|
|
public JettyHttpClientBuilder withCustomizer(Consumer<HttpClient> customizer) { |
|
|
|
|
Assert.notNull(customizer, "'customizer' must not be null"); |
|
|
|
|
@ -87,10 +87,10 @@ public final class JettyHttpClientBuilder {
@@ -87,10 +87,10 @@ public final class JettyHttpClientBuilder {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return a new {@link JettyClientHttpRequestFactoryBuilder} that uses the given |
|
|
|
|
* factory to create the {@link HttpClientTransport}. |
|
|
|
|
* Return a new {@link JettyHttpClientBuilder} that uses the given factory to create |
|
|
|
|
* the {@link HttpClientTransport}. |
|
|
|
|
* @param httpClientTransportFactory the {@link HttpClientTransport} factory to use |
|
|
|
|
* @return a new {@link JettyClientHttpRequestFactoryBuilder} instance |
|
|
|
|
* @return a new {@link JettyHttpClientBuilder} instance |
|
|
|
|
* @since 4.0.0 |
|
|
|
|
*/ |
|
|
|
|
public JettyHttpClientBuilder withHttpClientTransportFactory( |
|
|
|
|
@ -101,10 +101,10 @@ public final class JettyHttpClientBuilder {
@@ -101,10 +101,10 @@ public final class JettyHttpClientBuilder {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional |
|
|
|
|
* customization to the underlying {@link HttpClientTransport}. |
|
|
|
|
* Return a new {@link JettyHttpClientBuilder} that applies additional customization |
|
|
|
|
* to the underlying {@link HttpClientTransport}. |
|
|
|
|
* @param httpClientTransportCustomizer the customizer to apply |
|
|
|
|
* @return a new {@link JettyClientHttpRequestFactoryBuilder} instance |
|
|
|
|
* @return a new {@link JettyHttpClientBuilder} instance |
|
|
|
|
*/ |
|
|
|
|
public JettyHttpClientBuilder withHttpClientTransportCustomizer( |
|
|
|
|
Consumer<HttpClientTransport> httpClientTransportCustomizer) { |
|
|
|
|
@ -115,10 +115,10 @@ public final class JettyHttpClientBuilder {
@@ -115,10 +115,10 @@ public final class JettyHttpClientBuilder {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional |
|
|
|
|
* customization to the underlying {@link ClientConnector}. |
|
|
|
|
* Return a new {@link JettyHttpClientBuilder} that applies additional customization |
|
|
|
|
* to the underlying {@link ClientConnector}. |
|
|
|
|
* @param clientConnectorCustomizerCustomizer the customizer to apply |
|
|
|
|
* @return a new {@link JettyClientHttpRequestFactoryBuilder} instance |
|
|
|
|
* @return a new {@link JettyHttpClientBuilder} instance |
|
|
|
|
*/ |
|
|
|
|
public JettyHttpClientBuilder withClientConnectorCustomizerCustomizer( |
|
|
|
|
Consumer<ClientConnector> clientConnectorCustomizerCustomizer) { |
|
|
|
|
|