{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/348","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/348/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/348/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/348","id":59532697,"number":348,"title":"Add convenience method(s) to override base URL of JsonHttpClient.Builder","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Component-HTTP","name":"Component-HTTP","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.7.0","name":"Milestone-Version1.7.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T19:23:21Z","updated_at":"2015-03-02T19:23:22Z","closed_at":"2015-03-02T19:23:21Z","body":"```\nExternal references, such as a standards document, or specification?\n\nhttp://javadoc.google-api-java-client.googlecode.com/hg/apis/plus/v1/com/google/\napi/services/plus/Plus.html\n\nJava environments (e.g. Java 6, Android 2.3, App Engine, or All)?\n\nAll\n\nPlease describe the feature requested.\n\nInternally at Google we use a sandbox server for testing before pushing out to \nproduction and thus need the ability to override the server used in \nJsonHttpClient.Builder().  We have a getBaseUrl() method in Builder but it is \ninconvenient to use.  Would be simpler to just provide a setBaseUrl() method \nand/or a setBaseHost() method.\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 11 Nov 2011 at 8:48"}}