File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
webmagic-core/src/main/java/us/codecraft/webmagic/downloader Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 44import java .nio .charset .Charset ;
55import java .util .HashMap ;
66import java .util .Map ;
7- import java .util .function .Predicate ;
87
98import org .apache .commons .io .IOUtils ;
109import org .apache .http .HttpResponse ;
@@ -44,14 +43,6 @@ public class HttpClientDownloader extends AbstractDownloader {
4443
4544 private boolean responseHeader = true ;
4645
47- private volatile boolean refreshProxyOnError = false ;
48-
49- private Predicate <Throwable > throwablePredicate = t ->false ;
50-
51- public void setThrowablePredicate (Predicate <Throwable > predicate ){
52- this .throwablePredicate = predicate ;
53- }
54-
5546 public void setHttpUriRequestConverter (HttpUriRequestConverter httpUriRequestConverter ) {
5647 this .httpUriRequestConverter = httpUriRequestConverter ;
5748 }
You can’t perform that action at this time.
0 commit comments