| Modifier and Type | Field and Description |
|---|---|
| private HttpClientOptions | |
| private Handler | |
| private PoolOptions | |
| private Function | |
| private final VertxInternal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpClient | |
| private CloseFuture | |
| public HttpClientBuilder | with(HttpClientOptions
the client options options)Implements io. Configure the client options. |
| public HttpClientBuilder | with(PoolOptions
the pool options options)Implements io. Configure the client with the given pool |
| public HttpClientBuilder | withConnectHandler(Handler<HttpConnection> handler)
Implements io. Set a connection handler for the client. |
| public HttpClientBuilder | withRedirectHandler(Function<HttpClientResponse, Future<RequestOptions>>
the new redirect handler handler)Implements io. Set a redirect handler for the http client. |
| clientOptions | back to summary |
|---|---|
| private HttpClientOptions clientOptions | |
| connectHandler | back to summary |
|---|---|
| private Handler<HttpConnection> connectHandler | |
| poolOptions | back to summary |
|---|---|
| private PoolOptions poolOptions | |
| redirectHandler | back to summary |
|---|---|
| private Function<HttpClientResponse, Future<RequestOptions>> redirectHandler | |
| vertx | back to summary |
|---|---|
| private final VertxInternal vertx | |
| HttpClientBuilderImpl | back to summary |
|---|---|
| public HttpClientBuilderImpl(VertxInternal vertx) | |
| build | back to summary |
|---|---|
| public HttpClient build() Implements io. Doc from io. Build and return the client.
| |
| resolveCloseFuture | back to summary |
|---|---|
| private CloseFuture resolveCloseFuture() | |
| with | back to summary |
|---|---|
| public HttpClientBuilder with(HttpClientOptions options) Implements io. Doc from io. Configure the client options.
| |
| with | back to summary |
|---|---|
| public HttpClientBuilder with(PoolOptions options) Implements io. Doc from io. Configure the client with the given pool
| |
| withConnectHandler | back to summary |
|---|---|
| public HttpClientBuilder withConnectHandler(Handler<HttpConnection> handler) Implements io. Doc from io. Set a connection handler for the client. This handler is called when a new connection is established.
| |
| withRedirectHandler | back to summary |
|---|---|
| public HttpClientBuilder withRedirectHandler(Function<HttpClientResponse, Future<RequestOptions>> handler) Implements io. Doc from io. Set a redirect handler for the http client.
The redirect handler is called when a
The redirect handler is passed the
The handler must return a
| |