Hi,

I haven't test this yet but this might work

URL u = new URL("http", "proxy", -1(port number), "your url")

br,
-michael

2011/1/21 culov <[email protected]>

> I 'm getting 620 error response codes back from the google maps
> geocoding api if i send the request directly from my app engine
> servlet, so i have no choice but to use a proxy to receive a
> successful response.  I set up a proxy server, and ive tested it from
> several computers.  Now, all I want to do is make a url request from
> my GAE servlet through my proxy.
>
> I've tried every possible solution out there and none of them work....
>
> -java.net.Proxy isnt supported in the app engine runtime...
> -setting properties as follows:
>
> Properties props = System.getProperties();
> props.put("http.proxyHost", "proxyhostname");
> props.put("http.proxyPort", "proxyhostport");
>
> didnt do anything.
>
> What is the easiest way to send an http GET via a proxy in app engine?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
*We Create Solutions for Web and Mobile World*

email:  [email protected]
gsm:   +358 40 824 35 03
web:    www.vnetcon.org

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to