public interface HttpClient extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
CompletionStage<HttpResponse> |
execute(HttpRequest httpRequest) |
default String |
getUserAgent() |
CompletionStage<HttpResponse> execute(HttpRequest httpRequest)
void close()
close
in interface AutoCloseable
close
in interface Closeable