File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
src/main/java/io/goodforgod/api/etherscan Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 9
9
import io .goodforgod .api .etherscan .manager .RequestQueueManager ;
10
10
import io .goodforgod .api .etherscan .model .response .BaseListResponseTO ;
11
11
import io .goodforgod .api .etherscan .model .response .StringResponseTO ;
12
+ import io .goodforgod .api .etherscan .util .BasicUtils ;
12
13
import java .net .URI ;
13
14
import java .nio .charset .StandardCharsets ;
14
15
import java .util .ArrayList ;
15
16
import java .util .List ;
16
-
17
- import io .goodforgod .api .etherscan .util .BasicUtils ;
18
17
import org .jetbrains .annotations .ApiStatus .Internal ;
19
18
20
19
/**
Original file line number Diff line number Diff line change 4
4
import io .goodforgod .api .etherscan .error .EtherScanConnectionTimeoutException ;
5
5
import io .goodforgod .api .etherscan .http .EthHttpClient ;
6
6
import io .goodforgod .api .etherscan .http .EthResponse ;
7
- import org .jetbrains .annotations .ApiStatus .Internal ;
8
- import org .jetbrains .annotations .NotNull ;
9
-
10
7
import java .io .IOException ;
11
8
import java .net .URI ;
12
9
import java .net .http .HttpClient ;
17
14
import java .util .HashMap ;
18
15
import java .util .List ;
19
16
import java .util .Map ;
17
+ import org .jetbrains .annotations .ApiStatus .Internal ;
18
+ import org .jetbrains .annotations .NotNull ;
20
19
21
20
/**
22
21
* Anton Kurako (GoodforGod)
@@ -44,10 +43,10 @@ public class JdkEthHttpClient implements EthHttpClient {
44
43
45
44
public JdkEthHttpClient () {
46
45
this (HttpClient .newBuilder ()
47
- .connectTimeout (DEFAULT_CONNECT_TIMEOUT )
48
- .followRedirects (HttpClient .Redirect .NORMAL )
49
- .version (HttpClient .Version .HTTP_2 )
50
- .build (),
46
+ .connectTimeout (DEFAULT_CONNECT_TIMEOUT )
47
+ .followRedirects (HttpClient .Redirect .NORMAL )
48
+ .version (HttpClient .Version .HTTP_2 )
49
+ .build (),
51
50
DEFAULT_READ_TIMEOUT ,
52
51
DEFAULT_HEADERS );
53
52
}
You can’t perform that action at this time.
0 commit comments