All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.jfunc.http.component.RequestExecutor Maven / Gradle / Ivy

package top.jfunc.http.component;

import top.jfunc.http.request.HttpRequest;

import java.io.IOException;

/**
 * 封装真正执行的一步
 * @see RequestSender
 * @author xiongshiyan at 2020/1/6 , contact me with email [email protected] or phone 15208384257
 */
@Deprecated
public interface RequestExecutor {
    /**
     * 客户端Client执行器来执行请求Request,得到响应Response
     * @param client Client
     * @param request Request
     * @param httpRequest HttpRequest
     * @return Response
     * @throws IOException IOException
     */
    Response execute(Client client , Request request , HttpRequest httpRequest) throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy