JettyHttpClientBuilder

Builder that can be used to create a Jetty HttpClient.

Author

Phillip Webb

Andy Wilkinson

Scott Frederick

Since

3.5.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun build(settings: HttpClientSettings): HttpClient
Build a new HttpClient instance with the given settings applied.
Link copied to clipboard
open fun withClientConnectorCustomizerCustomizer(clientConnectorCustomizerCustomizer: Consumer<ClientConnector>): JettyHttpClientBuilder
Return a new JettyClientHttpRequestFactoryBuilder that applies additional customization to the underlying ClientConnector.
Link copied to clipboard
open fun withCustomizer(customizer: Consumer<HttpClient>): JettyHttpClientBuilder
Return a new JettyClientHttpRequestFactoryBuilder that applies additional customization to the underlying HttpClient.
Link copied to clipboard
open fun withHttpClientTransportCustomizer(httpClientTransportCustomizer: Consumer<HttpClientTransport>): JettyHttpClientBuilder
Return a new JettyClientHttpRequestFactoryBuilder that applies additional customization to the underlying HttpClientTransport.