Class HttpClientBuilder


  • public class HttpClientBuilder
    extends Object
    A builder for HttpClient.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • HttpClientBuilder

        public HttpClientBuilder​(io.vertx.core.http.HttpClientBuilder delegate)
      • HttpClientBuilder

        public HttpClientBuilder​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.core.http.HttpClientBuilder getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • with

        public HttpClientBuilder with​(io.vertx.core.http.HttpClientOptions options)
        Parameters:
        options - the client options
        Returns:
        a reference to this, so the API can be used fluently
      • with

        public HttpClientBuilder with​(io.vertx.core.http.PoolOptions options)
        Parameters:
        options - the pool options
        Returns:
        a reference to this, so the API can be used fluently
      • withRedirectHandler

        public HttpClientBuilder withRedirectHandler​(Function<HttpClientResponse,​io.smallrye.mutiny.Uni<io.vertx.core.http.RequestOptions>> handler)
        Parameters:
        handler - the new redirect handler
        Returns:
        a reference to this, so the API can be used fluently
      • build

        public HttpClient build()
        Returns:
        the client as configured by this builder
      • newInstance

        public static HttpClientBuilder newInstance​(io.vertx.core.http.HttpClientBuilder arg)