top.jfunc.http.component.okhttp3.DefaultOkHttp3RequestBuilderFactory Maven / Gradle / Ivy
package top.jfunc.http.component.okhttp3;
import okhttp3.Request;
import top.jfunc.http.component.AbstractRequesterFactory;
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
*/
public class DefaultOkHttp3RequestBuilderFactory extends AbstractRequesterFactory {
@Override
public Request.Builder doCreate(HttpRequest httpRequest) throws IOException {
return new Request.Builder().url(httpRequest.getCompletedUrl());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy