Commit 69b8679
authored
chore: remove legacy apache http from core (#2014)
The Android SDK uses HttpURLConnection as its HTTP runtime.
aws-android-sdk-core contains dead code that references the legacy
Apache HTTP Client used by the V1 Java SDK, from which this codebase
originates. The Apache HTTP client has considerable baggage on the
Android platform, and can cause runtime failures. In an effort to fully
remove it from the codebase, it is being removed from core.
As of this commit, Apache Logging is still a compile-time dependency in
core. If it is provided at runtime, it will be used. Otherwise, the SDK
will fallback to logging against the Android Log utility. This behavior
is discussed here: #4761 parent 9e43f1e commit 69b8679
File tree
26 files changed
+13
-1903
lines changed- aws-android-sdk-core
- src
- main/java/com/amazonaws
- http
- conn
- impl/client
- protocol
- metrics
- retry
- util
- test/java/com/amazonaws
- http
- conn
26 files changed
+13
-1903
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
Lines changed: 0 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 59 | | |
69 | 60 | | |
70 | 61 | | |
| |||
152 | 143 | | |
153 | 144 | | |
154 | 145 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 146 | | |
164 | 147 | | |
165 | 148 | | |
| |||
210 | 193 | | |
211 | 194 | | |
212 | 195 | | |
213 | | - | |
214 | 196 | | |
215 | 197 | | |
216 | 198 | | |
| |||
752 | 734 | | |
753 | 735 | | |
754 | 736 | | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | 737 | | |
790 | 738 | | |
791 | 739 | | |
| |||
Lines changed: 0 additions & 146 deletions
This file was deleted.
Lines changed: 0 additions & 58 deletions
This file was deleted.
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 32 | | |
38 | 33 | | |
39 | 34 | | |
| |||
0 commit comments