public abstract class HttpClientAdapterBase extends Object implements HttpClient
HttpClient
s.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 HttpClient
close
in interface Closeable
close
in interface AutoCloseable
public final CompletionStage<HttpResponse> execute(HttpRequest httpRequest)
execute
in interface HttpClient
protected abstract CompletionStage<HttpResponse> executeDelegate(HttpRequest httpRequest) throws Throwable
Throwable
protected final ForkJoinPool threadPool()
@Nullable public abstract String getUserAgent()
getUserAgent
in interface HttpClient