@Override
    public Response invoke(Invocation request) {
        final Future<ClientResponse> future = submit((ClientInvocation) request, false, null,
                                                     response -> response);
        try {
            return future.get();
        } catch (InterruptedException e) {
            throw new ProcessingException("Invocation interrupted", e);
        } catch (CancellationException e) {
            throw new ProcessingException("Invocation cancelled", e);
        } catch (ExecutionException e) {
            final Throwable cause = Exceptions.peel(e);
            if (cause instanceof WebApplicationException) {
                throw (WebApplicationException) cause;
            } else if (cause instanceof ProcessingException) {
                throw (ProcessingException) cause;
            } else {
                throw new ProcessingException(e);
            }
        }
    }
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