Package io.vertx.mutiny.core.http
Class HttpClientBuilder
java.lang.Object
io.vertx.mutiny.core.http.HttpClientBuilder
- All Implemented Interfaces:
MutinyDelegate
A builder for
HttpClient.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpClientBuilder(io.vertx.core.http.HttpClientBuilder delegate) HttpClientBuilder(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbuild()booleanio.vertx.core.http.HttpClientBuilderinthashCode()static HttpClientBuildernewInstance(io.vertx.core.http.HttpClientBuilder arg) toString()with(io.vertx.core.http.HttpClientOptions options) with(io.vertx.core.http.PoolOptions options) withConnectHandler(Consumer<HttpConnection> handler) withRedirectHandler(Function<HttpClientResponse, io.smallrye.mutiny.Uni<io.vertx.core.http.RequestOptions>> handler)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
HttpClientBuilder
public HttpClientBuilder(io.vertx.core.http.HttpClientBuilder delegate) -
HttpClientBuilder
-
-
Method Details
-
getDelegate
public io.vertx.core.http.HttpClientBuilder getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
with
- Parameters:
options- the client options- Returns:
- a reference to this, so the API can be used fluently
-
with
- Parameters:
options- the pool options- Returns:
- a reference to this, so the API can be used fluently
-
withConnectHandler
- Parameters:
handler-- Returns:
-
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
- Returns:
- the client as configured by this builder
-
newInstance
-