I found an custom connection manager, which makes apache-httpclient (which only supports blocking http connection) running on GAE. The custom manager looks like an wrapper to URLFetch and establishs connections by URLFetch as connection is required. Maybe a similar wrapper can be made to httpcore-nio?
I've read some codes of httpcore-nio. Class DefaultConnectingIoReactor uses java.net.SocketAddress (not supported by GAE) when establishing connections. I tried making an custom IoReactor but the implemented interface ConnectingIoReactor.connect hard-coded SocketAddress as arguments. On 9月2日, 上午4時07分, "Ikai L (Google)" <[email protected]> wrote: > I'm guessing no. It probably uses classes not available here: > > http://code.google.com/appengine/docs/java/jrewhitelist.html > > You're not making outbound HTTP calls from your app instance; you're calling > an API that uses Google's URLFetching infrastructure. > > > > On Wed, Sep 1, 2010 at 7:41 AM, apple <[email protected]> wrote: > > Can httpcore-nio (with minimal modification) be used in GAE > > applications? I would like to port my application (with httpcore-nio) > > to run on GAE. It will cost me a lot of time rewriting all connection > > codes to URLFetch. I'd rather not doing this unless it is necessary. > > > -- > > 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. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog:http://googleappengine.blogspot.com > Twitter:http://twitter.com/app_engine > Reddit:http://www.reddit.com/r/appengine -- 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.
