{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/81","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/81/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/81/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/81","id":59402785,"number":81,"title":"GoogleUtils.useMethodOverride(HttpTransport) and remove GoogleTransport","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-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":5,"created_at":"2015-03-01T16:13:14Z","updated_at":"2015-03-01T16:13:15Z","closed_at":"2015-03-01T16:13:14Z","body":"```\nVersion of google-api-java-client (e.g. 1.2.1-alpha)?\n\n\nJava environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?\nAll\n\nDescribe the problem.\n\nAn developer will call GoogleTransport.create() to create a transport.  Most of \nthe time they care about the base functionality of the HTTPTransport, but \nsometimes they have to modify the transport default headers.  Unfortunately, \nHTTPTransport has headers of type HttpHeaders, even though they are actually \nGoogleHeaders.   An application wanting to call GoogleHeaders methods has to do \na cast on the defaultsHeaders of the transport.  There should be a type safe \nmechanism for a developer to get\nthe GoogleHeaders instance that GoogleTransport created.\n\nHow would you expect it to be fixed?\n\n1 GoogleTransport should extend HTTPTransport.\n2. It's create methods should return GoogleTransport objects rather than \nHTTPTransport.\n3. GoogleTransport should have a getDefaultHeaders() method which returns a \nGoogleHeaders object.  This puts the class in the base library and out of the \nusers code.\n\n```\n\nOriginal issue reported on code.google.com by `ai...@google.com` on 21 Dec 2010 at 9:30"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76605175","html_url":"https://github.com/chrsmith/google-api-java-client/issues/81#issuecomment-76605175","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/81","id":76605175,"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},"created_at":"2015-03-01T16:13:15Z","updated_at":"2015-03-01T16:13:15Z","body":"\n\nOriginal comment by `yan...@google.com` on 8 Jan 2011 at 6:43\n* Added labels: **Component-Google-APIs**"}}