top.jfunc.http.component.jodd.DefaultJoddHeaderExtractor Maven / Gradle / Ivy
package top.jfunc.http.component.jodd;
import jodd.http.HttpResponse;
import top.jfunc.http.request.HttpRequest;
import top.jfunc.http.component.AbstractHeaderExtractor;
import top.jfunc.http.util.JoddUtil;
import top.jfunc.common.utils.MultiValueMap;
import java.io.IOException;
/**
* @author xiongshiyan at 2020/1/6 , contact me with email [email protected] or phone 15208384257
*/
public class DefaultJoddHeaderExtractor extends AbstractHeaderExtractor {
@Override
protected MultiValueMap doExtractHeaders(HttpResponse httpResponse, HttpRequest httpRequest) throws IOException {
return JoddUtil.parseHeaders(httpResponse);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy