top.jfunc.http.component.okhttp3.DefaultOkHttp3RequestExecutor Maven / Gradle / Ivy
package top.jfunc.http.component.okhttp3;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import top.jfunc.http.component.RequestExecutor;
import top.jfunc.http.request.HttpRequest;
import java.io.IOException;
/**
* @author xiongshiyan at 2020/1/6 , contact me with email [email protected] or phone 15208384257
*/
@Deprecated
public class DefaultOkHttp3RequestExecutor implements RequestExecutor {
@Override
public Response execute(OkHttpClient okHttpClient, Request request , HttpRequest httpRequest) throws IOException {
return okHttpClient.newCall(request).execute();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy