SmartDroidDeveloper / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

HTTP and SOCKS proxy support #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?
HTTP proxy RFC: http://tools.ietf.org/html/rfc2068#section-8.1.3
SOCKS proxy RFC: http://tools.ietf.org/html/rfc1928

Java environments (e.g. Java 6, Android 2.2, App Engine 1.3.7, or All)?
ALL

Please describe the feature requested.

Add support for HTTP and SOCKS proxy. 
Preferable this should be implemented for all the different implementations of 
LowLevelHttpTransport (UrlFetchTransport, ApacheHttpTransport and 
NetHttpTransport).

Currently HttpTransport is implemented using a static LowLevelHttpTransport. 
This will only allow to set a global proxy for all the instances of 
HttpTransport.
However, it would be nice to be able to set a different proxy for each instance.

Original issue reported on code.google.com by vially.i...@gmail.com on 9 Feb 2011 at 4:21

GoogleCodeExporter commented 9 years ago
See also, which has a pretty reasonable design:
http://code.google.com/r/viallyichb-google-api-proxy-support/

The 1.3 branch of the library is better designed for this since we got rid of 
the global variables.

Original comment by yan...@google.com on 9 Feb 2011 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 9 Feb 2011 at 5:02

GoogleCodeExporter commented 9 years ago
Moved:
http://code.google.com/p/google-http-java-client/issues/detail?id=87

Original comment by yan...@google.com on 14 Apr 2012 at 5:05