I'd go ahead and file a feature request here:
http://code.google.com/p/gdata-java-client/issues/list
Cheers,
-Jeff
On Thu, Nov 6, 2008 at 3:52 PM, Scott <[EMAIL PROTECTED]> wrote:
>
>
> Since JDK 1.5 there is a new java.net.Proxy class, along with
> java.net.Authenticator. In our organisation we have a number of Proxy
> Servers, some are authenticating proxy servers, some aren't. These are
> normally set for users by local pac files. We also have development,
> uat and production proxy servers as we roll different functionality
> out or use new vendors.
>
> I'd like to be able to pass a Proxy object to the GData Service class,
> for example;
>
> SocketAddress addr = new InetSocketAddress("172.28.0.1", 8080);
> Proxy proxy = new Proxy(Proxy.Type.HTTP, addr);
> Authenticator.setDefault(new
> BasicAuthenticator("application.username", "password"));
>
> YouTubeService gdataService = new YouTubeService("det-test-x01");
> gdataService.setProxy(proxy);
>
> This will override our default Java System property http.proxyHost/
> proxyPort settings. So we can
> control which Proxy Servers we use on a per-application basis. And
> still have a JEE application server default proxy server for
> applications that don't explicitly create instances of the Proxy
> class.
>
>
> Scott.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---