I have the following code snippets (remove exceptions code for
brevity) which is based on the example on
http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html#RetrievingAllCalendars
String appName = "companyName-appName-1.0";
CalendarService myService = new CalendarService
(appName);
String id = "myEmail";
String password = "myPassword";
String host = "http://www.google.com/calendar/feeds/"
+ id + "@gmail.com/owncalendars/full";
myService.setUserCredentials(id, password);
URL feedUrl = new URL(host);
CalendarFeed resultFeed = myService.getFeed(feedUrl,
CalendarFeed.class);
for (int i = 0; i < resultFeed.getEntries().size(); i++) {
entry = resultFeed.getEntries().get(i);
logger.info(entry.getTitle().getPlainText())
}
I receive the following log info:
Dec 18, 2009 3:25:34 PM
org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Dec 18, 2009 3:25:35 PM org.apache.commons.httpclient.HttpMethodBase
getResponseBody
WARNING: Going to buffer response body of large or unknown size. Using
getResponseBodyAsStream instead is recommended.
Dec 18, 2009 3:25:35 PM com.galensystems.pchr.server.DoServer
doCalendar
INFO: [email protected]
I am wondering if I am doign something wrong and have to worry the
above INFO and WARNING.
--
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.