Commit 3d7f17c
authored
Update ApacheHttpTransport implementation (googleapis#558)
* Move apache httpclient dependency to apache adapter artifacts
* Rewrite Apache adapter to use new APIs
* Cleanup apache implementations
* Fix tests
* Fix checkstyle
* Fix dependencies - google-http-client does depend on commons-codec
* Publish both apache adapters as google-http-client-apache with version 1.x and 2.0
* Fix dependency versions
* Remove ApacheHttpTransport.Builder for 2.0
We are providing a subset of builder options and we cannot change
setting after the HttpClient has been built. We should allow users to
just provide their implementation via the constructor.
* Allow `shutdown` to throw the IOException from closing the httpClient1 parent 280117f commit 3d7f17c
File tree
10 files changed
+168
-380
lines changed- google-http-client-apache-legacy
- google-http-client-apache
- src
- main/java/com/google/api/client/http/apache
- test/java/com/google/api/client/http/apache
- google-http-client-bom
- google-http-client
10 files changed
+168
-380
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 49 | + | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
0 commit comments