rest - 休息接口 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 支持的库。谢谢你的建议
解决方案
推荐阅读
- javascript - Angular nativeElement offsetTop 总是 0
- wordpress - 如何导出 WooCommerce 订单
- javascript - 使用 javascript 函数时出现问题(对象未按预期显示)
- pyinstaller - 带有 fastapi 和数据库的 Pyinstaller
- c - 在什么情况下缓冲区已满
- angular - 如何以角度处理顺序间隔请求?
- javascript - 如何在 Django 中使用 Javascript 和经过身份验证的用户调用 Django API
- python - ValueError : 层序贯_13 的输入 0 与层不兼容:
- mongodb - 为什么 MongoDB 不保存我的用户(async/await 的问题?) - Express、mongoDB、Oauth
- javascript - TypeError:无法读取未定义的属性“名称” - 从 restcountries API 获取数据