{"action":"closed","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/82","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/82/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/82/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/82","id":59376580,"number":82,"title":"Lift URL template filling code into GoogleUrl so it can be reused.","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-Google-APIs","name":"Component-Google-APIs","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-Version1.3.0","name":"Milestone-Version1.3.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Low","name":"Priority-Low","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":7,"created_at":"2015-03-01T03:59:09Z","updated_at":"2015-03-01T03:59:11Z","closed_at":"2015-03-01T03:59:10Z","body":"```\nVersion of google-api-java-client (e.g. 1.2.1-alpha)?\nhead\n\nJava environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?\nall\n\nDescribe the problem.\nThe method ....googleapis.json.GoogleApi.buildRequest() contains a useful bit \nof code for expanding a url template from a map of parameters.   We could lift \nthat up to http.GenericUrl to make it usable in more contexts.\n\nHow would you expect it to be fixed?\n\nExactly as described.  Lift the reusable code into a base library class.\n```\n\nOriginal issue reported on code.google.com by `ai...@google.com` on 21 Dec 2010 at 10:28"}}