现场 @Slf4j public class Main { public static void main(String[] args) throws IOException { String http = "http://httpbin.org/absolute-redirect/1"; RequestConfig config = RequestConfig.custom() .setRedirectsEnabled(false) .setConnectTimeout(