I believe this warning is from the underlying Apache HTTPClient
they're using. It's just warning you that the entire response is going
to be read into memory as opposed to reading it from an input stream a
chunk at a time, which could be more efficient. I get this with the
HTTPClient API outside of GAE as well.

On Sep 11, 3:12 pm, "Jason (Google)" <apija...@google.com> wrote:
> Which URL are you using? The above code is working for me. You can go ahead
> and disregard the getResponseBody warning -- it shouldn't affect the
> response from being returned to your app.
>
> - Jason
>
> On Wed, Sep 9, 2009 at 1:22 PM, Raghu <visuma...@gmail.com> wrote:
>
> > Hi ALL,
>
> > I'm just trying to fetch url using following code:
> > ======================
> >  PrintWriter out=response.getWriter();
> >  URLFetchService f=URLFetchServiceFactory.getURLFetchService();
> >                         HTTPResponse r=f.fetch(new URL("
> >http://dummyurl.ccom/rss.xml";));
> >                         byte[] b=r.getContent();
> >                      for (byte c : b) {
> >                                 out.write((char)c);
> >                        }
> > =========================
> > And I'm getting following message with blank servlet response
>
> > Sep 9, 2009 8:17:07 PM org.apache.commons.httpclient.HttpMethodBase
> > getResponseBody
> > WARNING: Going to buffer response body of large or unknown size. Using
> > getResponseBodyAsStream instead is recommended.
>
> > Please recommend me the solution for this.
>
> > thanks
> > rag
--~--~---------~--~----~------------~-------~--~----~
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 google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to