top.jfunc.http.component.jdk.DefaultJdkConnectionSender Maven / Gradle / Ivy
package top.jfunc.http.component.jdk;
import top.jfunc.http.component.RequestSender;
import top.jfunc.http.request.HttpRequest;
import java.io.IOException;
import java.net.HttpURLConnection;
/**
* @author xiongshiyan at 2020/1/6 , contact me with email [email protected] or phone 15208384257
*/
@Deprecated
public class DefaultJdkConnectionSender implements RequestSender {
@Override
public HttpURLConnection send(HttpURLConnection connection , HttpRequest httpRequest) throws IOException{
connection.connect();
return connection;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy