首页 > 解决方案 > 休息接口 JAX-RS

问题描述

我需要建议。是否可以仅使用 JAX-RS 覆盖该代码?

final CloseableHttpClient httpClient = HttpClients.custom().setConnectionManager(cm).build();
final ApacheHttpClient4Engine engine = new ApacheHttpClient4Engine(httpClient);
client = new ResteasyClientBuilder().httpEngine(engine).build();
target = client.target(restConf.getFilestoreUrl());
fileStoreClient = target.proxy(FileStoreRest.class);

我找到了很多方法,但都包含额外的库,我只想要 wildfly 16 支持的库。谢谢你的建议

标签: restjax-rswildflyresteasy

解决方案


推荐阅读