他の人が作成した RestService のインターフェイスを使用して、安静なクライアントを作成する必要があります... 1つのことを除いて、それはうまくいきます...
rest-easy 2.3.5.Final から rest-easy 3.0.x に更新すると、ClientRequestFactory クラスが @Deprecated のように表示されます。
実際のコードは次のとおりです。
ClientRequestFactory crf = new ClientRequestFactory(UriBuilder.fromUri("http://url-of-service").build());
SomeRestInterface client = crf.createProxy(SomeRestInterface.class);
client.theMethod();
バージョン 3.0.x の ClientRequestFactory の安静の代替手段は何ですか?