com.jdroid.java.http.okhttp.ExecuteRequestCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdroid-java-http-okhttp Show documentation
Show all versions of jdroid-java-http-okhttp Show documentation
OKHttp Http Layer Implementation for Jdroid
The newest version!
package com.jdroid.java.http.okhttp;
import java.io.IOException;
import okhttp3.Response;
public class ExecuteRequestCommand extends OkHttpCommand {
@Override
protected OkHttpResponseWrapper doExecute(OkHttpService okHttpService) throws IOException {
Response response = okHttpService.client.newCall(okHttpService.request).execute();
return new OkHttpResponseWrapper(response);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy