public abstract class HttpClientAdapterBase extends Object implements HttpClient
HttpClients.| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
HttpClientAdapterBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract void |
closeDelegate() |
boolean |
equals(Object o) |
CompletionStage<HttpResponse> |
execute(HttpRequest httpRequest) |
protected abstract CompletionStage<HttpResponse> |
executeDelegate(HttpRequest httpRequest) |
abstract String |
getUserAgent() |
int |
hashCode() |
protected ForkJoinPool |
threadPool() |
String |
toString() |
public final void close()
close in interface HttpClientclose in interface Closeableclose in interface AutoCloseablepublic final CompletionStage<HttpResponse> execute(HttpRequest httpRequest)
execute in interface HttpClientprotected abstract CompletionStage<HttpResponse> executeDelegate(HttpRequest httpRequest) throws Throwable
Throwableprotected final ForkJoinPool threadPool()
@Nullable public abstract String getUserAgent()
getUserAgent in interface HttpClient