JettyClientHttpRequestFactoryBuilder
Functions
Link copied to clipboard
Build a fully configured ClientHttpRequestFactory, applying the given
settings
if they are provided.Build a default configured ClientHttpRequestFactory.
Link copied to clipboard
Detect the most suitable ClientHttpRequestFactoryBuilder based on the classpath.
Link copied to clipboard
Return a HttpComponentsClientHttpRequestFactoryBuilder that can be used to build a HttpComponentsClientHttpRequestFactory.
Link copied to clipboard
Return a JdkClientHttpRequestFactoryBuilder that can be used to build a JdkClientHttpRequestFactory .
Link copied to clipboard
Return a JettyClientHttpRequestFactoryBuilder that can be used to build a JettyClientHttpRequestFactory.
Link copied to clipboard
open fun <T : ClientHttpRequestFactory?> of(requestFactoryType: Class<T>): ClientHttpRequestFactoryBuilder<T>
Return a new ClientHttpRequestFactoryBuilder for the given
requestFactoryType
.open fun <T : ClientHttpRequestFactory?> of(requestFactorySupplier: Supplier<T>): ClientHttpRequestFactoryBuilder<T>
Return a new ClientHttpRequestFactoryBuilder from the given supplier, using reflection to ultimately apply the ClientHttpRequestFactorySettings.
Link copied to clipboard
Return a ReactorClientHttpRequestFactoryBuilder that can be used to build a ReactorClientHttpRequestFactory.
Link copied to clipboard
Return a SimpleClientHttpRequestFactoryBuilder that can be used to build a SimpleClientHttpRequestFactory .
Link copied to clipboard
open fun withClientConnectorCustomizerCustomizer(clientConnectorCustomizerCustomizer: Consumer<ClientConnector>): JettyClientHttpRequestFactoryBuilder
Return a new JettyClientHttpRequestFactoryBuilder that applies additional customization to the underlying ClientConnector.
Link copied to clipboard
open fun withCustomizer(customizer: Consumer<JettyClientHttpRequestFactory>): JettyClientHttpRequestFactoryBuilder
Return a new ClientHttpRequestFactoryBuilder that applies the given customizer to the ClientHttpRequestFactory after it has been built.
Link copied to clipboard
open fun withCustomizers(customizers: Collection<Consumer<JettyClientHttpRequestFactory>>): JettyClientHttpRequestFactoryBuilder
Return a new ClientHttpRequestFactoryBuilder that applies the given customizers to the ClientHttpRequestFactory after it has been built.
Link copied to clipboard
open fun withHttpClientCustomizer(httpClientCustomizer: Consumer<HttpClient>): JettyClientHttpRequestFactoryBuilder
Return a new JettyClientHttpRequestFactoryBuilder that applies additional customization to the underlying HttpClient.
Link copied to clipboard
open fun withHttpClientTransportCustomizer(httpClientTransportCustomizer: Consumer<HttpClientTransport>): JettyClientHttpRequestFactoryBuilder
Return a new JettyClientHttpRequestFactoryBuilder that applies additional customization to the underlying HttpClientTransport.