top.jfunc.http.component.jodd.DefaultJoddStatusCodeExtractor Maven / Gradle / Ivy
package top.jfunc.http.component.jodd;
import jodd.http.HttpResponse;
import top.jfunc.http.component.StatusCodeExtractor;
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 DefaultJoddStatusCodeExtractor implements StatusCodeExtractor {
@Override
public Integer extract(HttpResponse httpResponse, HttpRequest httpRequest) throws IOException {
return httpResponse.statusCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy