@@ -19,8 +19,12 @@ There are three built-in low-level HTTP transports:
19
19
20
20
1 . [ ` NetHttpTransport ` ] [ net-http-transport ] : based on [ ` HttpURLConnection ` ] [ http-url-connection ]
21
21
that is found in all Java SDKs, and thus usually the simplest choice.
22
+ 1 . [ ` Apache5HttpTransport ` ] [ apache-http-transport ] : based on the popular
23
+ [ Apache 5.x HttpClient] [ apache5-http-client ] that allows for more customization.
22
24
1 . [ ` ApacheHttpTransport ` ] [ apache-http-transport ] : based on the popular
23
- [ Apache HttpClient] [ apache-http-client ] that allows for more customization.
25
+ [ Apache 4.x HttpClient] [ apache-http-client ] that allows for more customization. Note that this transport implementation
26
+ relies on [ Apache 4.x HttpCore] [ apache-http-core ] which has reached end of life. It is recommended to use
27
+ [ ` Apache5HttpTransport ` ] [ apache-http-transport ] instead.
24
28
1 . [ ` UrlFetchTransport ` ] [ url-fetch-transport ] : based on the [ URL Fetch Java API] [ url-fetch ] in the
25
29
Google App Engine SDK.
26
30
@@ -124,7 +128,10 @@ HttpRequestFactory requestFactory = transport.createRequestFactory(new MyInitial
124
128
[ net-http-transport ] : https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/javanet/NetHttpTransport.html
125
129
[ http-url-connection ] : http://docs.oracle.com/javase/7/docs/api/java/net/HttpURLConnection.html
126
130
[ apache-http-transport ] : https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/apache/v2/ApacheHttpTransport.html
127
- [ apache-http-client ] : http://hc.apache.org/httpcomponents-client-ga/index.html
131
+ [ apache5-http-transport ] : https://github.com/googleapis/google-http-java-client/blob/de8743587d1415e8a6046096ac1fc0a5e81490c3/google-http-client-apache-v5/src/main/java/com/google/api/client/http/apache/v5/Apache5HttpTransport.java
132
+ [ apache-http-client ] : https://hc.apache.org/httpcomponents-client-4.5.x/index.html
133
+ [ apache-http-core ] : https://hc.apache.org/httpcomponents-core-4.4.x/index.html
134
+ [ apache5-http-client ] : https://hc.apache.org/httpcomponents-client-5.3.x/index.html
128
135
[ url-fetch-transport ] : https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/extensions/appengine/http/UrlFetchTransport.html
129
136
[ url-fetch ] : https://cloud.google.com/appengine/docs/java/javadoc/com/google/appengine/api/urlfetch/package-summary
130
137
[ logger ] : https://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html
0 commit comments