dd a <url-stream-handler> clause to samples.
Change-Id: Iff95436ce6bfedfffe244d887062eab1c5183fa4
diff --git a/samples/mobilewebapp/src/main/webapp/WEB-INF/appengine-web.xml b/samples/mobilewebapp/src/main/webapp/WEB-INF/appengine-web.xml
index 1478934..1af1243 100644
--- a/samples/mobilewebapp/src/main/webapp/WEB-INF/appengine-web.xml
+++ b/samples/mobilewebapp/src/main/webapp/WEB-INF/appengine-web.xml
@@ -6,6 +6,11 @@
<!-- TODO(???) please update threadsafe to true if code is threadsafe -->
<threadsafe>false</threadsafe>
+ <!-- Continue to use urlfetch to open URLs in Java.
+ Delete this to use the socket API, which is more performant but could
+ conceivably lead to different behavior. -->
+ <url-stream-handler>urlfetch</url-stream-handler>
+
<!-- Configure serving/caching of GWT files -->
<static-files>
<include path="**" />
diff --git a/samples/showcase/war/WEB-INF/appengine-web.xml b/samples/showcase/war/WEB-INF/appengine-web.xml
index e31c318..b10fdd5 100644
--- a/samples/showcase/war/WEB-INF/appengine-web.xml
+++ b/samples/showcase/war/WEB-INF/appengine-web.xml
@@ -4,4 +4,9 @@
<version>dev</version>
<!-- TODO(???) please update threadsafe to true if code is threadsafe -->
<threadsafe>false</threadsafe>
+
+ <!-- Continue to use urlfetch to open URLs in Java.
+ Delete this to use the socket API, which is more performant but could
+ conceivably lead to different behavior. -->
+ <url-stream-handler>urlfetch</url-stream-handler>
</appengine-web-app>