OsmAnd/OsmAnd-java/src/net
Hans-Christoph Steiner bb1d1320ed use NetworkUtils.getHttpURLConnection for all URLConnections
This keeps the code consistent, provides a single common method for setting
up URLConnections, and allows the proxy support to work on all network
connections.

NetworkUtils.getHttpURLConnection() provides a common method for creating
HttpUrlConnection instances from URLs.  That's where the proxy config
happens.  If you can think of a better way to add proxy support, I'm all
ears.  This is the best that we've found in our proxy work at Guardian
Project.

this is a follow up on https://github.com/osmandapp/osmand/pull/1043
2015-02-20 14:06:07 +01:00
..
osmand use NetworkUtils.getHttpURLConnection for all URLConnections 2015-02-20 14:06:07 +01:00