class Okhttp3Service {

    @Resource
    private OkHttpClient okHttpClient;

    public void call(String url) {<FILL_FUNCTION_BODY>}
}

        Request request = new Request.Builder()
                .url(url)
                .build();
        okHttpClient.newCall(request).enqueue(new Callback() {
            @Override
            public void onFailure(Call call, IOException e) {
                // Handle the error
                log.error("okhttp3 async error", e);
            }

            @Override
            public void onResponse(Call call, Response response) throws IOException {
                // Handle the response
                log.info("okhttp3 async result: {}", new String(response.body().bytes()));
            }
        });
    
<no_super_class>