【发布时间】:2011-07-17 04:23:51
【问题描述】:
我在尝试使用 com.google.gdata.client.docs.DocsService 上传文档时遇到超时错误
这是我正在使用的代码:
DocumentListEntry documentEntry = new DocumentEntry();
documentEntry.setTitle(new PlainTextConstruct("new document"));
documentEntry.setMediaSource(new MediaByteArraySource(out.toByteArray(), mimeType));
DocumentListEntry uploadedEntry = service.insert(new URL("https://docs.google.com/feeds/default/private/full/"), documentEntry); <-- timeout at this point.
获取时超时:https://docs.google.com/feeds/default/private/full/
我正在使用 Eclipse 中的应用引擎 sdk 以调试模式运行应用程序。
【问题讨论】:
标签: java google-app-engine gdata-api