From f22e41fd26a4d5aaacd3fc4e32083a060d018f9b Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 10 Dec 2015 16:52:42 -0800 Subject: [PATCH] Specify HTTP Transport in DefaultDatastoreRpc --- .../src/main/java/com/google/gcloud/spi/DefaultDatastoreRpc.java | 1 + 1 file changed, 1 insertion(+) diff --git a/gcloud-java-datastore/src/main/java/com/google/gcloud/spi/DefaultDatastoreRpc.java b/gcloud-java-datastore/src/main/java/com/google/gcloud/spi/DefaultDatastoreRpc.java index 028027f4bc33..4771895eec99 100644 --- a/gcloud-java-datastore/src/main/java/com/google/gcloud/spi/DefaultDatastoreRpc.java +++ b/gcloud-java-datastore/src/main/java/com/google/gcloud/spi/DefaultDatastoreRpc.java @@ -69,6 +69,7 @@ public DefaultDatastoreRpc(DatastoreOptions options) { String normalizedHost = normalizeHost(options.host()); client = DatastoreFactory.get().create( new Builder() + .transport(options.httpTransportFactory().create()) .dataset(options.projectId()) .host(normalizedHost) .initializer(options.httpRequestInitializer())