@Override
    public <T> CompletableFuture<T> submit(ClientInvocation request, boolean buffered,
                                           ResultExtractor<T> extractor,
                                           @Nullable ExecutorService executorService) {
        final CompletableFuture<HttpResponse> asyncResponseFuture;
        if (executorService == null) {
            asyncResponseFuture = UnmodifiableFuture.completedFuture(makeAsyncRequest(request, buffered));
        } else {
            asyncResponseFuture = CompletableFuture.supplyAsync(() -> makeAsyncRequest(request, buffered),
                                                                executorService);
        }
        return asyncResponseFuture.thenCompose(asyncResponse ->
                                                       handleAsyncResponse(request.getClientConfiguration(),
                                                                           asyncResponse, buffered, extractor));
    }
Armeria does not allow to access the HostnameVerifier from WebClient API.
This functionality must be achieved by configuring {@link com.linecorp.armeria.client.WebClientBuilder}.
@throws UnsupportedOperationException always
resteasy/src/main/java/com/linecorp/armeria/client/resteasy/ArmeriaJaxrsClientEngine.java