public class NioHttpClient extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static interface |
NioHttpClient.Factory |
| Constructor and Description |
|---|
NioHttpClient(com.hubspot.horizon.AsyncHttpClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<com.hubspot.horizon.HttpResponse> |
execute(com.hubspot.horizon.HttpRequest httpRequest)
Deprecated.
|
void |
execute(com.hubspot.horizon.HttpRequest httpRequest,
com.hubspot.horizon.AsyncHttpClient.Callback callback)
Deprecated.
|
com.google.common.util.concurrent.ListenableFuture<com.hubspot.horizon.HttpResponse> |
execute(com.hubspot.horizon.HttpRequest httpRequest,
com.hubspot.horizon.HttpRequest.Options options)
Deprecated.
|
void |
execute(com.hubspot.horizon.HttpRequest httpRequest,
com.hubspot.horizon.HttpRequest.Options options,
com.hubspot.horizon.AsyncHttpClient.Callback callback)
Deprecated.
|
CompletableFuture<com.hubspot.horizon.HttpResponse> |
executeCompletableFuture(com.hubspot.horizon.HttpRequest request) |
@Inject public NioHttpClient(com.hubspot.horizon.AsyncHttpClient delegate)
@Deprecated public com.google.common.util.concurrent.ListenableFuture<com.hubspot.horizon.HttpResponse> execute(com.hubspot.horizon.HttpRequest httpRequest)
executeCompletableFuture(HttpRequest)@Deprecated public com.google.common.util.concurrent.ListenableFuture<com.hubspot.horizon.HttpResponse> execute(com.hubspot.horizon.HttpRequest httpRequest, com.hubspot.horizon.HttpRequest.Options options)
executeCompletableFuture(HttpRequest)@Deprecated public void execute(com.hubspot.horizon.HttpRequest httpRequest, com.hubspot.horizon.AsyncHttpClient.Callback callback)
executeCompletableFuture(HttpRequest)@Deprecated public void execute(com.hubspot.horizon.HttpRequest httpRequest, com.hubspot.horizon.HttpRequest.Options options, com.hubspot.horizon.AsyncHttpClient.Callback callback)
executeCompletableFuture(HttpRequest)public CompletableFuture<com.hubspot.horizon.HttpResponse> executeCompletableFuture(com.hubspot.horizon.HttpRequest request)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020. All rights reserved.